mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-11 00:06:29 +01:00
fix: Prevent crash by keeping network.model.** classes (#369)
Previous rule didn't consider a deeper package hierarchy, so the new NodeInfo classes were being removed by ProGuard.
This commit is contained in:
parent
875bb9c2a5
commit
a588c702fb
2
app/proguard-rules.pro
vendored
2
app/proguard-rules.pro
vendored
@ -38,7 +38,7 @@
|
||||
# Pachli specific options
|
||||
|
||||
# keep members of our model classes, they are used in json de/serialization
|
||||
-keepclassmembers class app.pachli.core.network.model.* { *; }
|
||||
-keepclassmembers class app.pachli.core.network.model.** { *; }
|
||||
|
||||
-keep public enum app.pachli.core.network.model.*$** {
|
||||
**[] $VALUES;
|
||||
|
Loading…
Reference in New Issue
Block a user