Skip to content

Instantly share code, notes, and snippets.

@gvelizlasteniasoftware
Created April 21, 2020 15:06
Show Gist options
  • Save gvelizlasteniasoftware/a2de152cda63d5ff0239b62c76971d37 to your computer and use it in GitHub Desktop.
Save gvelizlasteniasoftware/a2de152cda63d5ff0239b62c76971d37 to your computer and use it in GitHub Desktop.
Fix Cleartext Traffic Error in Android 9 Pie (Allow HTTP traffic) | Permitir trafico HTTP en Android 9
<!-- Add usesCleartextTraffic = true -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.apache.cordova" android:versionName="1.0" android:versionCode="1">
...
<application android:usesCleartextTraffic = "true"></application>
...
</manifest>
<!-- Add user-permission -->
<config-file target="AndroidManifest.xml" parent="/*" mode="merge">
...
<uses-permission android:name = "android.permission.INTERNET" />
...
</config-file>
@gvelizlasteniasoftware
Copy link
Author

gvelizlasteniasoftware commented May 22, 2020

<widget id="ar.com.xxxxxxxx" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment