Przeglądaj źródła

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 lat temu
rodzic
commit
7eb382596e
1 zmienionych plików z 1 dodań i 0 usunięć
  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"