Skip to content

Commit 0c83311

Browse files
committed
Fix: ProGuard keep rollback classes for Gson serialization in release
1 parent 534fd48 commit 0c83311

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/proguard-rules.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
-keep class com.appcontrolx.model.** { *; }
3333
-keep class com.appcontrolx.data.local.entity.** { *; }
3434

35+
# Keep Rollback data classes (for Gson serialization)
36+
-keep class com.appcontrolx.rollback.** { *; }
37+
3538
# Keep ViewModels
3639
-keep class * extends androidx.lifecycle.ViewModel {
3740
<init>();

0 commit comments

Comments
 (0)