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:
Vendored
+5
@@ -46,3 +46,8 @@
|
|||||||
|
|
||||||
# ── BuildConfig ───────────────────────────────────────────────────────────
|
# ── BuildConfig ───────────────────────────────────────────────────────────
|
||||||
-keep class com.m57.hermescontrol.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