Skip to content

Commit 0b3b327

Browse files
committed
Fix ProGuard stripping What's New dialog in release
1 parent 42687fb commit 0b3b327

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/proguard-rules.pro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
# Keep all executors
2929
-keep class com.appcontrolx.executor.** { *; }
3030

31+
# Keep MainActivity methods (What's New dialog)
32+
-keepclassmembers class com.appcontrolx.ui.MainActivity {
33+
private void showWhatsNewIfNeeded();
34+
private void showWhatsNewDialog();
35+
}
36+
3137
# Keep Models
3238
-keep class com.appcontrolx.model.** { *; }
3339
-keep class com.appcontrolx.data.local.entity.** { *; }

0 commit comments

Comments
 (0)