From 8f25c3c3ef75768d6fabaac3005243f5d9804e7a Mon Sep 17 00:00:00 2001 From: Maxim Bachinsky Date: Mon, 29 Jun 2020 00:38:32 +0300 Subject: [PATCH] add network_security_config only for withoutSSLPinning --- app/src/main/AndroidManifest.xml | 1 - app/src/withoutSSLPinning/AndroidManifest.xml | 7 +++++++ .../res/xml/network_security_config.xml | 0 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 app/src/withoutSSLPinning/AndroidManifest.xml rename app/src/{main => withoutSSLPinning}/res/xml/network_security_config.xml (100%) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 54278fa..fd2e16f 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -10,7 +10,6 @@ android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:label="@string/common_global_app_name" - android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="false" tools:ignore="GoogleAppIndexingWarning"> diff --git a/app/src/withoutSSLPinning/AndroidManifest.xml b/app/src/withoutSSLPinning/AndroidManifest.xml new file mode 100644 index 0000000..ee93eb8 --- /dev/null +++ b/app/src/withoutSSLPinning/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/withoutSSLPinning/res/xml/network_security_config.xml similarity index 100% rename from app/src/main/res/xml/network_security_config.xml rename to app/src/withoutSSLPinning/res/xml/network_security_config.xml