title: Android app not permitting cleartext traffic inspite of adding xml permissions
body: <p>I'm trying to access a development server API using nativescript-vue. I have added all the possible permissions in the android manifest, but it's giving the error: JS: Error: java.io.IOException: Cleartext HTTP traffic to url not permitted</p>
  
  <p>Here is my manifest:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
      &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
  
  &lt;application
          android:usesCleartextTraffic="true"
          android:name="com.tns.NativeScriptApplication"
          android:allowBackup="true"
          android:icon="@drawable/icon"
          android:label="@string/app_name"
          android:cleartextTrafficPermitted="true"
          android:usesCleartextTraffic="true"
          android:networkSecurityConfig="@xml/network_security_config"
          android:theme="@style/AppTheme"&gt;
  </code></pre>
  
  <p>Here is the network_security_config.xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;network-security-config&gt;
    &lt;base-config cleartextTrafficPermitted="true"&gt;
          &lt;trust-anchors&gt;
              &lt;certificates src="system" /&gt;
          &lt;/trust-anchors&gt;
      &lt;/base-config&gt;
      &lt;domain-config cleartextTrafficPermitted="true"&gt;
         &lt;domain includeSubdomains="true"&gt;192.168.xxx.xxx&lt;/domain&gt;
     &lt;/domain-config&gt;
  &lt;/network-security-config&gt;
  </code></pre>
  
  <p>And here is the Nativescipt-vue code:</p>
  
  <pre><code>httpModule.request({
          url: "http://192.168.XXX.XXX:XXXX/func",
          method: "POST",
          headers: { "Content-Type": "application/json" },
          content: data
        }).then((response) =&gt; {
          const result = response.content.toJSON();
        }, (e) =&gt; {
          console.error(e);
        });
  </code></pre>