I am using decompose for routing / navigation and model
I have common shared logic modules between android and desktop say: main(basic), moderator, admin
And I have shared compose ui modules: main, moderator, admin
And android dynamic modules moderator, admin which have dependency to ui and logic.
I have a dynamic_module detector class FeatureChecker which checks for available modules and FeatureRenderer which call composable functions using reflection.
These helper classes will be passed to the component tree context and will be used for checking features and loading ui