ninjachippie
ninjachippie

Reputation: 552

Android Allow Cleartext Traffic From Devices on the Local Wifi Network

In my Android app I have a network_security_config.xml that allows cleartext traffic from only one domain.

I have a usecase where I need to connect to TV devices on the local Wifi network which use cleartext. So I want to update my network_security_config.xml to allow all cleartext traffic from devices on the local network while still blocking cleartext traffic from the internet.

Is this possible? If so, how?

<network-security-config>
    <domain-config>
        <domain includeSubdomains="true">onlyone.com</domain>
    </domain-config>
</network-security-config> ```

Upvotes: 0

Views: 23

Answers (0)

Related Questions