fix the updater

This commit is contained in:
Bnyro 2022-10-23 18:59:04 +02:00
parent 7c9dd79069
commit 57535dabff
2 changed files with 9 additions and 6 deletions

View File

@ -41,6 +41,8 @@ android {
} }
debug { debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
debuggable true debuggable true
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
resValue "string", "app_name", "LibreTube Debug" resValue "string", "app_name", "LibreTube Debug"

View File

@ -16,15 +16,16 @@
# debugging stack traces. # debugging stack traces.
-keepattributes SourceFile,LineNumberTable -keepattributes SourceFile,LineNumberTable
# prevents obfuscation in debug logs
-dontobfuscate
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
#uncomment for debug #uncomment for debug
#-keepnames class ** #-keepnames class **
# Keep data classes used for Retrofit
-keep class com.github.libretube.obj.** { *; } -keep class com.github.libretube.obj.** { *; }
-keep class com.github.libretube.obj.update.** { *; }
# prevents android from removing it
-keep class com.github.libretube.obj.**.** { *; }
# prevents obfuscation in debug logs
-dontobfuscate