Skip to content

Commit

Permalink
Add enum proguard rule
Browse files Browse the repository at this point in the history
  • Loading branch information
shorthouse committed Nov 11, 2023
1 parent 12a0b4e commit a13c346
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
-keep class com.google.gson.reflect.TypeToken
-keep class * extends com.google.gson.reflect.TypeToken

# Keep room database and entities
-keep class * extends androidx.room.RoomDatabase
-keep @androidx.room.Entity class *
# Keep user preferences enums
-keep public enum dev.shorthouse.coinwatch.data.datastore.**{
*;
}

0 comments on commit a13c346

Please sign in to comment.