mirror of
https://github.com/tuskyapp/Tusky
synced 2024-12-17 19:39:05 +01:00
add additional R8 rules so conversations work again (#2322)
This commit is contained in:
parent
ae656a17a8
commit
b145e8163d
6
app/proguard-rules.pro
vendored
6
app/proguard-rules.pro
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user