diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 8b372a47d..ef750ac8c 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -51,6 +51,8 @@ public *; } +-keepclassmembers class com.keylesspalace.tusky.components.conversation.ConversationAccountEntity { *; } + # https://github.com/google/gson/blob/master/examples/android-proguard-example/proguard.cfg # Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory, @@ -71,6 +73,10 @@ -keep,allowobfuscation,allowshrinking class kotlin.collections.Map -keep,allowobfuscation,allowshrinking class retrofit2.Call +# https://r8.googlesource.com/r8/+/refs/heads/master/compatibility-faq.md#retrofit +-keepattributes Signature +-keep class kotlin.coroutines.Continuation + # preserve line numbers for crash reporting -keepattributes SourceFile,LineNumberTable -renamesourcefileattribute SourceFile