From e8089c66846334e642fa6ea06e73e9ad4d27419e Mon Sep 17 00:00:00 2001 From: Kirill Kamakin Date: Sun, 21 Nov 2021 16:35:44 +0300 Subject: [PATCH] Allow using user's SSL certificates in Debug mode This is required for Charles Proxy --- app/src/main/AndroidManifest.xml | 1 + app/src/main/res/xml/network_security_config.xml | 9 +++++++++ 2 files changed, 10 insertions(+) create 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 865d459..2fbb0bb 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ android:name="gq.kirmanak.mealient.App" android:allowBackup="true" android:fullBackupOnly="true" + android:networkSecurityConfig="@xml/network_security_config" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher" diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 0000000..25676f1 --- /dev/null +++ b/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file