From 78ca7f9aff052ee2f91b40cb5181dc8817c7da2f Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Sat, 4 May 2024 17:07:22 +0200 Subject: [PATCH] Support custom CA From: https://github.com/flutter/flutter/issues/35868#issuecomment-1399467971 Fixes #24 --- android/app/src/main/AndroidManifest.xml | 1 + android/app/src/main/res/xml/network_security_config.xml | 9 +++++++++ 2 files changed, 10 insertions(+) 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 8c25712..39297c5 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -9,6 +9,7 @@ android:name="${applicationName}" android:label="Miniflutt" android:usesCleartextTraffic="true" + android:networkSecurityConfig="@xml/network_security_config" android:icon="@mipmap/ic_launcher"> + + + + + + + + \ No newline at end of file