From 85ebdd7c96c5fac5a0f4c7aed10796ff32d80ca4 Mon Sep 17 00:00:00 2001 From: TiA4f8R <74829229+TiA4f8R@users.noreply.github.com> Date: Fri, 28 May 2021 22:07:28 +0200 Subject: [PATCH] Extractor youtubei-api --- app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 2 ++ app/src/main/res/xml/network_security_config.xml | 9 +++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/xml/network_security_config.xml diff --git a/app/build.gradle b/app/build.gradle index 42fefdbe6f2..6747e2f7b99 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -186,7 +186,7 @@ dependencies { // name and the commit hash with the commit hash of the (pushed) commit you want to test // This works thanks to JitPack: https://jitpack.io/ implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' - implementation 'com.github.TeamNewPipe:NewPipeExtractor:ada67d136a64749f6eed897c47bd941b109b4b4d' + implementation 'com.github.TiA4f8R:NewPipeExtractor:7a6ff78e9fa81c391549de2f9ba5327d78fefff3' /** Checkstyle **/ checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}" diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 75479345d24..ecb9ff8df59 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -22,6 +22,8 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:logo="@mipmap/ic_launcher" + android:networkSecurityConfig="@xml/network_security_config" + android:requestLegacyExternalStorage="true" android:theme="@style/OpeningTheme" android:resizeableActivity="true" tools:ignore="AllowBackup"> diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 00000000000..284be8c6e41 --- /dev/null +++ b/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,9 @@ + + + + + + + + +