Sfoglia il codice sorgente

Explicitly opt in to clearTextTraffic

According to docs, cleartext support is disabled by starting with Android 9.

Ref: https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted
estasney 2 anni fa
parent
commit
7eb382596e
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/src/main/AndroidManifest.xml

+ 1 - 0
app/src/main/AndroidManifest.xml

@@ -8,6 +8,7 @@
     <uses-permission android:name="android.permission.INTERNET" />
 
     <application
+        android:usesCleartextTraffic="true"
         android:allowBackup="false"
         android:icon="@mipmap/ic_launcher"
         android:label="@string/app_name"