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 Answer
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

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions