diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 6649b5d6a..0cd67ca85 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -46,4 +46,9 @@ # Keep logback classes -keep class ch.qos.** { *; } --keep class org.slf4j.** { *; } \ No newline at end of file +-keep class org.slf4j.** { *; } + +# Keep data classes +-keepclassmembers,allowobfuscation class * { + @com.google.gson.annotations.SerializedName ; +} \ No newline at end of file