-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS NSAppTransportSecurity #8
Comments
Thanks for the issue... What version of RN are you using and how old is your RN app (issue I linked below looks like it had issues with older versions of RN)? My app's <key>NSAppTransportSecurity</key> I did see this issue on a quick google search, looks like some other people have some solutions for something similar. If you find a fix, can you post what worked for you on this thread for anyone else who might encounter it? |
@benjreinhart Hey 👋 there, Im on so I tried again, when
When using that and the sample code, the error persists:
Not sure whats going on 😟 Do you happen to have a public repo RN app which uses your lib that you could share? I could clone and see if I can get to work on my local machine? |
@benjreinhart so I fixed the issued I was experiencing. This error:
Was due to an untrusted local react-native server development certificate:
To which there is an advised: Solution Repo
|
@phoenixbox very nice, thank you for the detailed follow up! |
@phoenixbox Did you try the production source fix? Any idea how to get react-native calling S3, to work on IOS simulator? Im having a hard time understanding the stackoverflow post. |
Hey @jomaint, try updating the
As for using a real certificate for development, I can't say I know how to make that work. I just used this workaround for local development. Removed it for production builds on devices, and it works |
@phoenixbox Thanks for your response! I’ll give a go and see how it goes |
Hey there,
Im getting a networking error when trying to upload to S3 from my
react-native
app running on my device.Error
From Googling around there are suggestions to add the AWS domains to the
NSExceptionDomains
in theinfo.plist
. Ive tried the followingxml
in theplist
but am still experiencing the same issue.What
NSAppTransportSecurity
do you use for uploading to S3?The text was updated successfully, but these errors were encountered: