Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniloercoli/d8f2b484a806751fb5ff07223192db1d to your computer and use it in GitHub Desktop.
Save daniloercoli/d8f2b484a806751fb5ff07223192db1d to your computer and use it in GitHub Desktop.
diff --git a/WordPress/src/main/res/xml/network_security_config.xml b/WordPress/src/main/res/xml/network_security_config.xml
index a165ebe8da..d97dd22f17 100644
--- a/WordPress/src/main/res/xml/network_security_config.xml
+++ b/WordPress/src/main/res/xml/network_security_config.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
+ <!--Set application-wide security config using base-config tag.-->
+ <base-config cleartextTrafficPermitted="true"/>
<debug-overrides>
<trust-anchors>
<!-- Trust user added certificate authorities while debuggable only -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment