Permitting cleartext on specific domains

Absolutely!
You can totally add cleartext exceptions. To do that, create AndroidResources/res/xml/network_security_config.xml file in your project with contents like:

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <domain-config cleartextTrafficPermitted="true">
        <domain includeSubdomains="true">some.domain.com</domain>
        <domain includeSubdomains="true">other.domain.com</domain>
    </domain-config>
</network-security-config>
3 Likes