From ddb41a0f6f825efdad21ce2c4d9b66cf3c403486 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Wed, 26 Sep 2018 13:02:40 +0200 Subject: [PATCH] Define network security configuration. For now, we use the Android 7/8 defaults which allow cleartext traffic and trust system CAs. --- oeffi/AndroidManifest.xml | 1 + oeffi/res/xml/network_security_config.xml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 oeffi/res/xml/network_security_config.xml diff --git a/oeffi/AndroidManifest.xml b/oeffi/AndroidManifest.xml index c8f8c74..cc9dec8 100644 --- a/oeffi/AndroidManifest.xml +++ b/oeffi/AndroidManifest.xml @@ -57,6 +57,7 @@ android:allowBackup="true" android:icon="@mipmap/ic_oeffi_stations_color_48dp" android:label="@string/app_name" + android:networkSecurityConfig="@xml/network_security_config" android:theme="@style/My.Theme.Light" > diff --git a/oeffi/res/xml/network_security_config.xml b/oeffi/res/xml/network_security_config.xml new file mode 100644 index 0000000..d4e1b3c --- /dev/null +++ b/oeffi/res/xml/network_security_config.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file