Skip to content

Commit

Permalink
fix: Prevent crash by keeping network.model.** classes (#369)
Browse files Browse the repository at this point in the history
Previous rule didn't consider a deeper package hierarchy, so the new
NodeInfo classes were being removed by ProGuard.
  • Loading branch information
nikclayton authored Jan 19, 2024
1 parent 875bb9c commit a588c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a588c70

Please sign in to comment.