From b089bcf6875c8073afe4355f1b5b1a418dbf90ce Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Tue, 29 Oct 2024 17:50:21 -0700 Subject: [PATCH] Allow self-signed CA. Signed-off-by: Ben Kibbey --- android/app/src/main/AndroidManifest.xml | 3 ++- android/app/src/main/res/xml/network_security_config.xml | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 android/app/src/main/res/xml/network_security_config.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index a73ba1616..0c77772f7 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -12,6 +12,7 @@ android:allowBackup="false" android:dataExtractionRules="@xml/data_extraction_rules" android:fullBackupContent="@xml/backup_rules" + android:networkSecurityConfig="@xml/network_security_config" android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" @@ -40,4 +41,4 @@ - \ No newline at end of file + diff --git a/android/app/src/main/res/xml/network_security_config.xml b/android/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 000000000..284be8c6e --- /dev/null +++ b/android/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,9 @@ + + + + + + + + +