Created
July 27, 2021 00:01
-
-
Save dario61081/4d419f8eff6b0cd493cb75dfb852302e to your computer and use it in GitHub Desktop.
Allow androidnetworking work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application | |
android:networkSecurityConfig="@xml/network_security_config" | |
android:usesCleartextTraffic="true" | |
network_security_config | |
<?xml version="1.0" encoding="utf-8"?> | |
<network-security-config> | |
<base-config cleartextTrafficPermitted="true" /> | |
<domain-config cleartextTrafficPermitted="false"> | |
<domain includeSubdomains="true">smtp.google.com</domain> | |
</domain-config> | |
<domain-config cleartextTrafficPermitted="true"> | |
<domain includeSubdomains="true">192.168.0.1/24</domain> | |
</domain-config> | |
</network-security-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
api 28 o superior