I’ve the next in my Information.plist
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<string></string>
</dict>
</dict>
My understanding is that the NSAllowsArbitraryLoads
secret’s a boolean worth that signifies whether or not the appliance can load sources from arbitrary servers or domains, with out HTTPS or Transport Layer Safety (TLS) encryption. If set to true, it permits the app to load content material from any URL, which isn’t safe and will pose a safety threat.
Thus far, so good I believe. It means the app may entry http://instance.com
i.e. not https
So, the NSExceptionDomains
secret’s one other dictionary that lists the domains or servers that the app is allowed to load content material from, even when they do not help HTTPS or TLS encryption. Certainly NSAllowsArbitraryLoads
takes care of that already or am I lacking one thing?
I am not anticipating the next to be in there since NSAllowsArbitraryLoads
is already set to true
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<string></string>
</dict>