Search Unity

NSAppTransportSecurity ios9 no ads

Discussion in 'Unity Ads & User Acquisition' started by biscito, Aug 19, 2015.

  1. biscito

    biscito

    Joined:
    Apr 3, 2013
    Posts:
    138
    Apple announced “App Transport Security” for iOS 9 and OSX 10.11 El Capitan.
    so in xcode i get :
    Transport security has blocked a cleartext HTTP (http://)

    basically the ads don't show,

    i need to configure a per-domain exception, so that my app can connect to a non-secure (or non TLSv1.2-enabled secure host), i'v read that i need to add these keys to my Info.plist :

    <key>NSAppTransportSecurity</key>
    <dict>
    <key>NSExceptionDomains</key>
    <dict>
    <key>myserver.com</key>
    <------------------------ i need that from you guys
    <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>

    that or just a button to press , )

     
  2. biscito

    biscito

    Joined:
    Apr 3, 2013
    Posts:
    138
    or just that :

    <key>NSAppTransportSecurity</key>

    <dict>

    <!--Include to allow all connections (DANGER)-->

    <key>NSAllowsArbitraryLoads</key>

    <true/>

    </dict>

    it works !!
     
  3. jannen

    jannen

    Unity Technologies

    Joined:
    Aug 21, 2014
    Posts:
    28
    Hello,

    Currently Unity Ads loads some resources over plain HTTP. We are aware that with iOS 9 this is no longer possible and we need to load all resources over HTTPS. Necessary client-side changes were implemented in the latest 1.2.1 package in Asset Store. Necessary server-side changes are still in progress but obviously they will be implemented before iOS 9 is officially released.
     
    biscito likes this.
  4. biscito

    biscito

    Joined:
    Apr 3, 2013
    Posts:
    138

    good to know , )