Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question ADColony Configuring App Transport Security (ATS) not work

Discussion in 'Unity Ads & User Acquisition' started by Ikaro88, Nov 19, 2021.

  1. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    284
    Hi, on my AdColony implementation I get an error:

    ATS Has not been configured correctly.
    On the documentation they tell this:

    https://www.adcolony.com/blog/2017/09/14/6-steps-optimize-321-sdk-integration/

    https://developers.is.com/ironsource-mobile/ios/adcolony-mediation-guide/#step-5



    Option 1: Disable ATS
    In order to prevent your ads (and your revenue) from being impacted by ATS, please disable it by adding the following to your info.plist:

    <key>NSAppTransportSecurity</key>
    <dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    </dict>
    Option 2: Keep ATS Enabled & Add ATS Keys
    If you still wish to keep ATS enabled with the integration, please add the following keys to your info.plist file:

    <key>NSAppTransportSecurity</key>
    <dict>
    <key>NSAllowsArbitraryLoads</key>
    <false/>
    <key>NSAllowsLocalNetworking</key>
    <true/>
    <key>NSAllowsArbitraryLoadsInWebContent</key>
    <true/>
    </dict>



    I tried both and NOT WORK AT ALL

    Anyone can help be before i stop using adcolony on my project?