Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Allow androidnetworking work
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>
@dario61081

This comment has been minimized.

Copy link
Owner Author

@dario61081 dario61081 commented Jul 27, 2021

api 28 o superior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment