From a588c702fb9164e4b27a6e99cc6abadd1e219468 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Fri, 19 Jan 2024 09:39:44 +0100 Subject: [PATCH] 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. --- app/proguard-rules.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index a454aab11..1a4d2c0f6 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -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;