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.
  2. Dismiss Notice

Question Clear text traffic to localhost for AdColony

Discussion in 'Unity Mediation' started by Fr3driiik, May 5, 2022.

  1. Fr3driiik

    Fr3driiik

    Joined:
    Feb 20, 2022
    Posts:
    4
    I am testing out my integration with AdColony and I am getting a warning about having clear text traffic disabled. So as I understand it AdColony SDK needs clear text traffic to be enabled for localhost, to buffer ads (maybe?).
    I am no longer able to edit that in network_security_config.xml and use it in the AndroidManifest.xml (as explained here under Android Changes) and I don't want to enable clear text traffic for all traffic by using this:

    Code (xml):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <manifest ...>
    3.     <application
    4.         ...
    5.         android:usesCleartextTraffic="true"
    6.         ...>
    7.         ...
    8.     </application>
    9. </manifest>
    How do I enable clear text traffic only for localhost?
    Maybe it should be possible to configure that for the AdColony adapter?

    Editor version 2021.3.1f1
     
    Last edited: May 5, 2022
  2. KaOzz

    KaOzz

    Joined:
    Oct 15, 2012
    Posts:
    82
    Same question here, anybody?
     
  3. DeclanMcPartlin

    DeclanMcPartlin

    Unity Technologies

    Joined:
    Nov 19, 2020
    Posts:
    146
    We will take a look if we can find this answer internally, but since this is a question specifically for AdColony, we recommend reaching out to them - thanks!