Created
September 29, 2015 16:46
-
-
Save nickrouty/4b19512e9806b583d7d8 to your computer and use it in GitHub Desktop.
Updating your Apache Cordova app to work with iOS 9 comes with some confusion. We found that we weren't able to make remote requests to API end points that we needed to. To ensure this would work we needed to add the following code to the platforms/ios/[AppName]/appname-Info.plist file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSExceptionDomains</key> | |
<dict> | |
<key>ReplaceWithYourDomanName.com</key> | |
<dict> | |
<key>NSIncludesSubdomains</key> | |
<true/> | |
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> | |
<true/> | |
<key>NSTemporaryExceptionRequiresForwardSecrecy</key> | |
<false/> | |
<key>NSTemporaryExceptionMinimumTLSVersion</key> | |
<string>TLSv1.0</string> | |
</dict> | |
</dict> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment