diff --git a/mastodon/proguard-rules.pro b/mastodon/proguard-rules.pro index 506be84e2..d490d763a 100644 --- a/mastodon/proguard-rules.pro +++ b/mastodon/proguard-rules.pro @@ -42,6 +42,10 @@ -keepattributes LineNumberTable +-keepattributes * +-keep class com.google.gson.reflect.TypeToken { *; } +-keep class * extends com.google.gson.reflect.TypeToken { *; } + # Parceler library -keep interface org.parceler.Parcel -keep @org.parceler.Parcel class * { *; }