title: Nativescript - Https request not working on android platform v7.0.1
body: <p>I´m completely lost on why this is happening, on previous versions everything worked well and on ios i don´t have any problems, but on android the below crashes:(i´m using the <a href="https://market.nativescript.org/plugins/nativescript-https/" rel="nofollow noreferrer">https</a> module</p>
  <pre><code>https.request({
          url: &quot;https://my_link&quot;,
          method: &quot;POST&quot;,
          body:{ &quot;grupo&quot;: gotData.tappedItem.grupo },
          allowLargeResponse:true,
          headers:{
              &quot;Cache-Control&quot;: &quot;no-cache&quot;,
              &quot;Content-Type&quot;:&quot;application/json&quot;
          }
      }).then((response) =&gt; {
  </code></pre>
  <p><strong>And this also crashes:</strong></p>
  <pre><code>https.request({
          url: &quot;https://my_link?grupo=&quot;+gotData.tappedItem.grupo,
          method: &quot;GET&quot;,
          allowLargeResponse:true,
          headers:{
              &quot;Cache-Control&quot;: &quot;no-cache&quot;,
              &quot;Content-Type&quot;:&quot;application/json&quot;
          }
      }).then((response) =&gt; {
  </code></pre>
  <p>Is it the code? am i typing anything wrong?. I already tried deleting the platforms and delete from the device, and i have download the certificate to app/assets folder but it just doesn´t work and this is the error:</p>
  <pre><code>System.err: An uncaught Exception occurred on &quot;main&quot; thread.
  System.err: Calling js method onResponse failed
  System.err: Error: android.os.NetworkOnMainThreadException
  System.err: 
  System.err: StackTrace:
  System.err: onResponse(file: node_modules/nativescript-https/https.android.js:492:0)
  </code></pre>
  <p><strong>My tns info:</strong></p>
  <pre><code>✔ Getting NativeScript components versions information...
  ✔ Component nativescript has 7.1.2 version and is up to date.
  ✔ Component @nativescript/core has 7.1.4 version and is up to date.
  ✔ Component @nativescript/ios has 7.1.1 version and is up to date.
  ✔ Component @nativescript/android has 7.0.1 version and is up to date.
  </code></pre>