diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 97e74ce02..855f7b111 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -86,6 +86,10 @@ -dontwarn com.google.** -keep class com.google.gson.Gson {*;} +# Keep data classes +-keep class com.aurora.store.data.room.favourite.ImportExport { *; } +-keep class com.aurora.store.data.room.favourite.Favourite { *; } + # With R8 full mode, it sees no subtypes of Retrofit interfaces since they are created with a Proxy # and replaces all potential values with null. Explicitly keeping the interfaces prevents this. -if interface * { @retrofit2.http.* ; }