Proxy settings on aws-sdk-ios

1

Hi. I'm trying to use proxy when my ios app accesses AWS Cognito and Lambda via aws-sdk-ios(but not amplify). But I couldn't find the way of implement that. I'd like to set proxy information like URLSession.

Can anyone help?

Thanks!

1 Respuesta
0

For new projects, you should not use the AWS SDK for iOS anymore. We are focusing our efforts on a new AWS SDK for Swift (in preview).

The AWS SDK for Swift implements a custom HTTP client that bypass macOS / iOS system wide proxy settings. The solution is to provide your own HTTP Client implementation, just for the duration of your testing.

Eventually, we would like the SDK to include such client by default. You can track progress and copy/paste code sample here https://github.com/awslabs/aws-sdk-swift/issues/817

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas