title: CLEARTEXT communication not permitted by network security policy working on my mobile
body: <p>I am building an APP, and facing CLEARTEXT communication not permitted by network security policy error on my friend mobile (I am just testing it on anther mobile). of course i am not able to trace the problem as the application is working OK on my mobile (without USB debugging), I download it from google play. </p>
  
  <p>I did all needed to resolve this problem by adding 
  <code>android:usesCleartextTraffic="true"</code> to application tag in <code>AndroidManifest.xml</code>
  also I added  <code>android:networkSecurityConfig="@xml/network_security_config"</code></p>
  
  <p>my config XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;network-security-config&gt;
        &lt;domain-config cleartextTrafficPermitted="true"&gt;
        &lt;domain includeSubdomains="true"&gt;MY IP&lt;/domain&gt;
    &lt;/domain-config&gt;
  &lt;/network-security-config&gt;
  </code></pre>
  
  <p>Its still not working.
  I cannot trace the problem on my mobile because its working. Why i am not getting the same error as my friend mobile??? </p>
  
  <p>I want it to give me same error on my mobile to be able to trace the problem. I removed all the above options and it still working on my mobile. It was even working before I added any thing as I only discovered the problem after Installed on my friend mobile. </p>