ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android

Thanks a lot man!, that worked for me!

Add to config.xml, inside <platform name="android">:

<edit-config xmlns:android=""  file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
    <application android:usesCleartextTraffic="true" />

Add android:usesCleartextTraffic="true" inside of platforms/android/app/src/main/AndroidManifest.xml (add to the application tag’s list of attributes)

Now run:

ionic cordova prepare android
ionic cordova build android --release --prod

PS. Move to Capacitor, for all future apps, it’s MUCH easier, the blood sweat & tears days of Cordova are over. If you’re too lazy to learn something new then go ahead and SUFFER :smiley:

this one works, thanks :slightly_smiling_face: