Last active
March 5, 2016 05:04
-
-
Save bauloc/afdde6f4bd41b422ab4e to your computer and use it in GitHub Desktop.
Transport Security has Blocked a cleartext HTTP
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
For example you can add a specific domain like: | |
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSExceptionDomains</key> | |
<dict> | |
<key>yourserver.com</key> | |
<dict> | |
<!--Include to allow subdomains--> | |
<key>NSIncludesSubdomains</key> | |
<true/> | |
<!--Include to allow HTTP requests--> | |
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> | |
<true/> | |
<!--Include to specify minimum TLS version--> | |
<key>NSTemporaryExceptionMinimumTLSVersion</key> | |
<string>TLSv1.1</string> | |
</dict> | |
</dict> | |
</dict> | |
The lazy option is: | |
<key>NSAppTransportSecurity</key> | |
<dict> | |
<!--Include to allow all connections (DANGER)--> | |
<key>NSAllowsArbitraryLoads</key> | |
<true/> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment