Skip to content

Commit

Permalink
Add room proguard rules
Browse files Browse the repository at this point in the history
  • Loading branch information
shorthouse committed Nov 11, 2023
1 parent e82f057 commit c58b906
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@
# Retain generic signatures of GSON TypeToken and its subclasses
-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 *

0 comments on commit c58b906

Please sign in to comment.