chore(R8): Keep the backup models.
Gson will fail with gson.internal.linkedtreemap cannot be cast to class. Mainly because it's removed or obfuscated by R8. Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
parent
646ceaf4cb
commit
3c73891c44
1 changed files with 4 additions and 1 deletions
5
app/proguard-rules.pro
vendored
5
app/proguard-rules.pro
vendored
|
@ -80,4 +80,7 @@
|
|||
-keep class com.google.api.services.** { *; }
|
||||
|
||||
# Google OAuth
|
||||
-keep class com.google.api.client.** { *; }
|
||||
-keep class com.google.api.client.** { *; }
|
||||
|
||||
# Keep backup models, otherwise gson fails on release builds.
|
||||
-keep class eu.kanade.tachiyomi.data.backup.models.** { *; }
|
Reference in a new issue