Skip to content

Commit

Permalink
Updated ProGuard rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed Apr 23, 2020
1 parent 2025bfc commit 9aaa760
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
applicationId "com.javinator9889.handwashingreminder"
minSdkVersion 17
targetSdkVersion 29
versionCode 109
versionCode 110
versionName "1.1.2-${gitCommitHash}"
multiDexEnabled true
resConfigs "en", "es"
Expand Down
12 changes: 12 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,15 @@
# prevent Crashlytics obfuscation
-keep class com.google.firebase.crashlytics.** { *; }
-dontwarn com.google.firebase.crashlytics.**

-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}

# keep the specified class members from being removed or renamed
# only if the class is preserved
-keepclassmembers class android.content.Intent {
android.content.Intent setIdentifier(java.lang.String);
java.lang.String getIdentifier();
}

0 comments on commit 9aaa760

Please sign in to comment.