From c58b906361eb0b54eedc3de347f3d9c69e6ed257 Mon Sep 17 00:00:00 2001 From: Harry S Date: Sat, 11 Nov 2023 12:42:02 +0000 Subject: [PATCH] Add room proguard rules --- app/proguard-rules.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 6656d0d6..01be62a5 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -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 *