Skip to content

Commit

Permalink
Merge pull request #50 from raccoongang/feature/proguard_changes
Browse files Browse the repository at this point in the history
Keep Enums in proguard-rules.pro
  • Loading branch information
volodymyr-chekyrta authored Sep 27, 2023
2 parents 1a8cb2a + 41d88cb commit d3149ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,9 @@
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken

##---------------End: proguard configuration for Gson ----------

-keepclassmembers class * extends java.lang.Enum {
<fields>;
public static **[] values();
public static ** valueOf(java.lang.String);
}

0 comments on commit d3149ff

Please sign in to comment.