<network-security-config>
  <!-- For AdColony and Smaato - all cleartext traffic allowed -->
  <base-config cleartextTrafficPermitted="true">
    <trust-anchors>
      <certificates src="system"/>
    </trust-anchors>
  </base-config>
  <!-- End AdColony cleartext requirement -->
  <domain-config cleartextTrafficPermitted="true">
    <!-- For Facebook -->
    <domain includeSubdomains="true">127.0.0.1</domain>

    <!-- For Amazon -->
    <domain includeSubdomains="true">amazon-adsystem.com</domain>
  </domain-config>
</network-security-config>