From f2b9ede27c605a0cb0208478da321a48d42a15c4 Mon Sep 17 00:00:00 2001 From: sk Date: Thu, 26 May 2022 21:43:08 +0200 Subject: [PATCH] Add proguard rules for parceler according to http://parceler.org/ fixes issue where parceler can't find parcelable class --- mastodon/proguard-rules.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mastodon/proguard-rules.pro b/mastodon/proguard-rules.pro index 469f17887..5df0bfc22 100644 --- a/mastodon/proguard-rules.pro +++ b/mastodon/proguard-rules.pro @@ -46,4 +46,9 @@ -keep class org.joinmastodon.android.AppCenterWrapper { *; } --keepattributes LineNumberTable \ No newline at end of file +-keepattributes LineNumberTable + +# Parceler library +-keep interface org.parceler.Parcel +-keep @org.parceler.Parcel class * { *; } +-keep class **$$Parcelable { *; }