From b7452089de23e23372b919d672d7f19db08fca8c Mon Sep 17 00:00:00 2001 From: William Brawner Date: Mon, 15 Feb 2021 09:37:40 -0700 Subject: [PATCH] Allow cleartext traffic Since the idea is for anyone to host their own server, forcing them to use SSL seems a bit heavy-handed, even if it's maybe not a bad idea. --- android/src/main/AndroidManifest.xml | 2 +- android/src/main/res/xml/network_security_config.xml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 android/src/main/res/xml/network_security_config.xml diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 1fa1060..85c2bdb 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -11,7 +11,7 @@ android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" - android:networkSecurityConfig="@xml/network_security_config" + android:usesCleartextTraffic="true" tools:ignore="GoogleAppIndexingWarning" tools:targetApi="n"> - - - 10.0.2.2 - -