add additional R8 rules so conversations work again (#2322)
This commit is contained in:
parent
ae656a17a8
commit
b145e8163d
1 changed files with 6 additions and 0 deletions
6
app/proguard-rules.pro
vendored
6
app/proguard-rules.pro
vendored
|
@ -51,6 +51,8 @@
|
||||||
public *;
|
public *;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keepclassmembers class com.keylesspalace.tusky.components.conversation.ConversationAccountEntity { *; }
|
||||||
|
|
||||||
# https://github.com/google/gson/blob/master/examples/android-proguard-example/proguard.cfg
|
# https://github.com/google/gson/blob/master/examples/android-proguard-example/proguard.cfg
|
||||||
|
|
||||||
# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
|
# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
|
||||||
|
@ -71,6 +73,10 @@
|
||||||
-keep,allowobfuscation,allowshrinking class kotlin.collections.Map
|
-keep,allowobfuscation,allowshrinking class kotlin.collections.Map
|
||||||
-keep,allowobfuscation,allowshrinking class retrofit2.Call
|
-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
|
# preserve line numbers for crash reporting
|
||||||
-keepattributes SourceFile,LineNumberTable
|
-keepattributes SourceFile,LineNumberTable
|
||||||
-renamesourcefileattribute SourceFile
|
-renamesourcefileattribute SourceFile
|
||||||
|
|
Loading…
Reference in a new issue