Disabling ProGuard until we figure out why crashes only happen in the release build.

This commit is contained in:
Vitor Pamplona 2023-02-10 11:55:31 -05:00
parent a38087a9b9
commit fa559c8428
2 changed files with 5 additions and 3 deletions

View File

@ -22,8 +22,8 @@ android {
buildTypes { buildTypes {
release { release {
minifyEnabled true //minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' //proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "@string/app_name_release" resValue "string", "app_name", "@string/app_name_release"
} }
debug { debug {

View File

@ -31,5 +31,7 @@
-keep class * extends com.google.gson.reflect.TypeToken -keep class * extends com.google.gson.reflect.TypeToken
-keep public class * implements java.lang.reflect.Type -keep public class * implements java.lang.reflect.Type
-keep class com.vitorpamplona.amethyst.lnurl.** { *; }
-keep class com.vitorpamplona.amethyst.model.** { *; } -keep class com.vitorpamplona.amethyst.model.** { *; }
-keep class com.vitorpamplona.amethyst.service.** { *; } -keep class com.vitorpamplona.amethyst.service.** { *; }
-keep class com.vitorpamplona.amethyst.ui.** { *; }