From 08213e48d4f4d16f8814b996474c3e098bd2c702 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Fri, 1 Jul 2022 14:48:45 -0300 Subject: Allow cleartext traffic to int.taler.net for debug builds --- .idea/gradle.xml | 1 + cashier/src/debug/res/xml/network_security_config.xml | 6 ++++++ cashier/src/main/AndroidManifest.xml | 2 +- cashier/src/main/res/xml/network_security_config.xml | 2 ++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 cashier/src/debug/res/xml/network_security_config.xml create mode 100644 cashier/src/main/res/xml/network_security_config.xml diff --git a/.idea/gradle.xml b/.idea/gradle.xml index caf1ba4..4cc0060 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -21,6 +21,7 @@ + diff --git a/cashier/src/debug/res/xml/network_security_config.xml b/cashier/src/debug/res/xml/network_security_config.xml new file mode 100644 index 0000000..a85875e --- /dev/null +++ b/cashier/src/debug/res/xml/network_security_config.xml @@ -0,0 +1,6 @@ + + + + int.taler.net + + diff --git a/cashier/src/main/AndroidManifest.xml b/cashier/src/main/AndroidManifest.xml index 36a3b72..2947e83 100644 --- a/cashier/src/main/AndroidManifest.xml +++ b/cashier/src/main/AndroidManifest.xml @@ -11,10 +11,10 @@ android:fullBackupContent="@xml/backup_descriptor" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" + android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_launcher" android:supportsRtl="true" android:theme="@style/AppTheme" - android:usesCleartextTraffic="true" tools:ignore="GoogleAppIndexingWarning"> + -- cgit v1.2.3