From 06883907e4b78595b37003069a729bca0dd3a7be Mon Sep 17 00:00:00 2001 From: Ezerous Date: Sun, 5 Jul 2020 11:20:28 +0300 Subject: [PATCH] Globally enable cleartext traffic, as some avatars require it --- app/src/main/AndroidManifest.xml | 2 +- app/src/main/res/drawable/ic_default_user_avatar.xml | 2 +- app/src/main/res/xml/network_security_config.xml | 8 -------- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 app/src/main/res/xml/network_security_config.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index e36ad051..fa42ba6b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -19,7 +19,7 @@ android:label="@string/app_name" android:supportsRtl="true" android:requestLegacyExternalStorage="true" - android:networkSecurityConfig="@xml/network_security_config" + android:usesCleartextTraffic="true" android:theme="@style/AppTheme" tools:ignore="UnusedAttribute"> - + diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml deleted file mode 100644 index 13da65b7..00000000 --- a/app/src/main/res/xml/network_security_config.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - www.thmmy.gr - www.sciweavers.org - -