fix(nav): keep NavKey implementation names in proguard (#174)
Avoid obfuscating screen classes/objects since their simpleNames are matched for bottom nav setup.
This commit is contained in:
1 file changed
+5
Vendored
+5
@@ -46,3 +46,8 @@
|
||||
|
||||
# ── BuildConfig ───────────────────────────────────────────────────────────
|
||||
-keep class com.m57.hermescontrol.BuildConfig { *; }
|
||||
|
||||
# ── Navigation (NavKey Names) ─────────────────────────────────────────────
|
||||
# Keep screen object class names because their simpleNames are used for bottom nav selection and storage.
|
||||
-keep class * implements androidx.navigation3.runtime.NavKey { *; }
|
||||
|
||||
Reference in new issue
Block a user