Fixed issue with Android 9 and CLEARTEXT communication issue.

This commit is contained in:
Amine committed 2018-11-20 21:06:05 +01:00
1 parent d8478ebb01
commit ec87089310
2 files changed
+6

No files matched your search

+1
View File
@@ -12,6 +12,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/NoBar">
<activity
android:name=".MainActivity"
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true" >
</base-config>
</network-security-config>