Ti ringraziamo per la visita. Questa pagina è per il momento disponibile solo in inglese.

Mobile Ads API and iOS 9 App Transport Security

Getting ready for iOS 9 ATS feature

If you use the Amazon Mobile Ads API and build your app with Apple’s iOS 9 SDK (or Xcode7), the new iOS 9 App Transport Security (ATS) feature will affect your app’s ability to receive ads from the Amazon Mobile Ad Network.

The new ATS feature prevents ads being served via non-secure HTTP, and by default it only allows HTTPS connections over TLSv1.2. There are other security requirements that you should be aware of such as new ciphers and certificates requirements – please see iOS 9 documentation.

To ensure your iOS app continues to work with ads served by the Amazon Mobile Ad Network, you’ll need to configure your app to behave as a pre-iOS 9 app by adding the following properties to your app’s Info.plist file:

<key>NSAppTransportSecurity</key>  
<dict>  
    <key>NSAllowsArbitraryLoads</key> <true/>  
</dict>

Or you can update the app’s Info.plist via Xcode:

Note that this is a short-term solution as the industry moves towards fully supporting HTTPS TLSv1.2.

For questions regarding these changes, please feel free to contact us.

References

What's New in iOS 9 from Apple?

App Transport Security

Apple Developer Forums