From 67ed4028fc46596aca071c984517bc9609e42957 Mon Sep 17 00:00:00 2001 From: Marcelo Castellano Date: Fri, 16 Jan 2026 05:46:07 -0300 Subject: [PATCH 1/2] fix: change desugaring to NIO flavor and downgrade to 2.0.4 --- android/app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 7319c6a8..cb9c4b89 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -122,7 +122,7 @@ flutter { def glanceVersion = "1.1.1" dependencies { - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4' + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.0.4' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' // other deps so just ignore @@ -137,4 +137,4 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3" implementation 'com.google.code.gson:gson:2.11.0' -} \ No newline at end of file +} From 9baf58e333b4722f7e1db85ea2fcb5efe53814d9 Mon Sep 17 00:00:00 2001 From: Marcelo Castellano Date: Sat, 17 Jan 2026 02:46:53 -0300 Subject: [PATCH 2/2] chore: update proguard to fix minify step of release builds This change comes from TeamNewPipe/NewPipe@6c5d58bed3a4e7945580c644a875aa1addf3a89b. --- android/app/proguard-rules.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 1f5a556c..7cf88217 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -56,4 +56,9 @@ -dontwarn jdk.dynalink.linker.TypeBasedGuardingDynamicLinker -dontwarn jdk.dynalink.linker.support.CompositeTypeBasedGuardingDynamicLinker -dontwarn jdk.dynalink.linker.support.Guards --dontwarn jdk.dynalink.support.ChainedCallSite \ No newline at end of file +-dontwarn jdk.dynalink.support.ChainedCallSite +# Rules for jsoup +# Ignore intended-to-be-optional re2j classes - only needed if using re2j for jsoup regex +# jsoup safely falls back to JDK regex if re2j not on classpath, but has concrete re2j refs +# See https://github.com/jhy/jsoup/issues/2459 - may be resolved in future, then this may be removed +-dontwarn com.google.re2j.**