App Transport Security (ATS) Settings is an Apple security feature that enforces HTTPS connections for encrypted and secure data transmission. However, many advertising networks and partners still rely on HTTP connections to optimize performance and maximize revenue. For this reason, Digital Turbine recommends enabling HTTP for your app.
In Xcode, this is defined by Allow Arbitrary Downloads property, which you can set either from the property list editor or by directly editing the content of the Info.plist
file.
Enabling HTTP connections from Property list editor
In Xcode property list editor, make sure that Allow Arbitrary Downloads property under App Transport Security Settings is set to YES
. If necessary, see instructions at Xcode Help on editing property lists.
Enabling HTTP connections by editing the Info.plist
file
Note
In the Info.plist
file, the Allow Arbitrary Downloads property is represented by NSAllowsArbitraryLoads
key. For more information, see Apple developer documentation on NSAllowsArbitraryLoads key.
To enable HTTP connections, copy and paste the following code snippet in the Info.plist
file of your Xcode project:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>