From cc98016e67d583a8a206be8f5e81299391073092 Mon Sep 17 00:00:00 2001 From: Francisco Prieto Date: Fri, 15 Nov 2024 18:09:09 -0300 Subject: [PATCH] Add network_security_config.xml for Proxyman testing in demo app (#1679) * Add network_security_config.xml for Proxyman testing in demo app * Add mavenLocal to example app --- .../ExampleApp/app/src/main/AndroidManifest.xml | 1 + .../src/main/res/xml/network_security_config.xml | 16 ++++++++++++++++ examples/ExampleApp/settings.gradle.kts | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 examples/ExampleApp/app/src/main/res/xml/network_security_config.xml diff --git a/examples/ExampleApp/app/src/main/AndroidManifest.xml b/examples/ExampleApp/app/src/main/AndroidManifest.xml index 31211c46f..533041c4d 100644 --- a/examples/ExampleApp/app/src/main/AndroidManifest.xml +++ b/examples/ExampleApp/app/src/main/AndroidManifest.xml @@ -12,6 +12,7 @@ android:fullBackupContent="@xml/backup_rules" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" + android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.ExampleApp" diff --git a/examples/ExampleApp/app/src/main/res/xml/network_security_config.xml b/examples/ExampleApp/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 000000000..2f70bda0a --- /dev/null +++ b/examples/ExampleApp/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/examples/ExampleApp/settings.gradle.kts b/examples/ExampleApp/settings.gradle.kts index 3418d70bd..35c7e2f08 100644 --- a/examples/ExampleApp/settings.gradle.kts +++ b/examples/ExampleApp/settings.gradle.kts @@ -8,6 +8,7 @@ pluginManagement { } } mavenCentral() + mavenLocal() gradlePluginPortal() } } @@ -16,6 +17,7 @@ dependencyResolutionManagement { repositories { google() mavenCentral() + mavenLocal() } }