From e9d80b398026ebfc01a0d91954f922fd646452d5 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Wed, 14 Aug 2024 12:40:49 +0200 Subject: [PATCH] Add network security config --- app/src/main/AndroidManifest.xml | 8 ++++++-- app/src/main/res/xml/network_security_config.xml | 13 +++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/xml/network_security_config.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 61d80c4e..0efacf44 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ - + @@ -11,8 +12,11 @@ android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" + android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" - android:theme="@style/Theme.Readrops.SplashScreen"> + android:theme="@style/Theme.Readrops.SplashScreen" + android:usesCleartextTraffic="true" + tools:targetApi="n"> + + + + + + + + + + \ No newline at end of file