Solve the problem of impossibility of fetch the api on android

the problem is due to the fact that by default ionic does not allow http connections … so to overcome this problem, add to the AndroidManifest.xml file located in /android/app/src/main as follows

<application 
    android:usesCleartextTraffic="true"
>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>


permission