title: 'Network Error' on all calls in React Native on Android
body: <p>Every call I make on React Native for Android is returning a 'Network Error' response. However, the same calls work fine when using the application on iOS.</p>
  <p>This issue has only come about when trying to connect to a production environment, with the testing site having previously worked on Android, but the production environment only working on iOS. This is even more confusing, as the testing environment is a sub domain of the production (i.e. test.domain.com vs domain.com).</p>
  <p>I have seen a number of solutions to this issue but none seem to have worked for me so far.</p>
  <p>My Android manifest:</p>
  <pre><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; package=&quot;-----&quot;&gt;
  
    &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
    &lt;uses-permission android:name=&quot;android.permission.CAMERA&quot; /&gt;
    &lt;uses-permission android:name=&quot;android.permission.RECORD_AUDIO&quot;/&gt;
    &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt;
    &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; /&gt;
    &lt;uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot;/&gt;
  
    &lt;queries&gt;
      &lt;intent&gt; 
        &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
        &lt;data android:mimeType=&quot;*/*&quot; /&gt;
      &lt;/intent&gt;
    &lt;/queries&gt;
  
    &lt;application 
      android:requestLegacyExternalStorage=&quot;true&quot; 
      android:name=&quot;.MainApplication&quot; 
      android:label=&quot;@string/app_name&quot; 
      android:icon=&quot;@mipmap/ic_launcher&quot; 
      android:roundIcon=&quot;@mipmap/ic_launcher_round&quot; 
      android:allowBackup=&quot;false&quot; 
      android:windowSoftInputMode=&quot;adjustResize&quot; 
      android:usesCleartextTraffic=&quot;true&quot; 
      android:theme=&quot;@style/AppTheme&quot;
    &gt;
      &lt;meta-data 
        android:name=&quot;com.google.android.geo.API_KEY&quot; 
        android:value=&quot;---------&quot;
      /&gt;
      &lt;uses-library android:name=&quot;org.apache.http.legacy&quot; android:required=&quot;false&quot;/&gt;
      &lt;activity 
        android:name=&quot;.MainActivity&quot; 
        android:label=&quot;@string/app_name&quot; 
        android:configChanges=&quot;keyboard|keyboardHidden|orientation|screenSize|uiMode&quot; 
        android:launchMode=&quot;singleTask&quot; 
        android:exported=&quot;true&quot; 
        android:windowSoftInputMode=&quot;adjustResize&quot;
      &gt;
        &lt;intent-filter&gt;
          &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
          &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
        &lt;/intent-filter&gt;
      &lt;/activity&gt;
    &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  <p>React Native version: 0.65.1</p>
  <p>React version: 17.0.2</p>
  <p>Axios version: 0.21.4</p>
  <p>The error on every call is a generic 'Error: Network Error' one. As mentioned, this only occurs on Android, and not iOS. The call is being done over HTTPS.</p>
  <p>Any help would be much appreciated.</p>