Last active
September 11, 2015 19:03
-
-
Save EddyVerbruggen/3f37ec04e6111a7c6733 to your computer and use it in GitHub Desktop.
Whitelist your server for iOS9 non-HTTPS communication
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
<!-- | |
When building with XCode 7 (iOS9 SDK), Apple restricts communication to SSL servers only. | |
See https://developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/ | |
You can override this if you need to. | |
If you know which servers your app talks to, look for 'NSExceptionDomains' on the page above. | |
But if you need to whitelist everything (not recommended) add this to your app's .plist: | |
--> | |
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSAllowsArbitraryLoads</key> | |
<true/> | |
</dict> | |
<!-- | |
CORDOVA USERS: | |
You will be able to use the <access> tag in config.xml to manipulate this, see https://issues.apache.org/jira/browse/CB-9569 | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment