hey, do you guys use any "debug menu" type of libr...
# multiplatform
e
hey, do you guys use any "debug menu" type of libraries in your projects or even custom solutions? I am looking for a quick and easy way to toggle some feature flags or change some mocked data while the app is running for testing purposes
z
We have a debug menu with feature flags in the kotlinconf-app project, the core class is
Flags
/
FlagsManager
, used via
LocalFlags
in the Compose code. The manager class is a decent place to start exploring it from: https://github.com/JetBrains/kotlinconf-app/blob/main/app/shared/src/commonMain/kotlin/org/jetbrains/kotlinconf/flags/FlagsManager.kt
👍 1
b
Yeah, thats pretty common. i've seen it attached to debug versions. in the app i'm working on, users have "grants" so a test user can be given the debug grant, and show up those menus.