MeshtasticCommonAppSetup

fun MeshtasticCommonAppSetup(uiViewModel: UIViewModel, onNavigateToTracerouteMap: (destinationNodeNum: Int, requestId: Int, logUuid: String?) -> Unit)(source)

Common application-level setup for all Meshtastic platforms (Android, Desktop, etc.).

This component encapsulates headless global UI logic that must reside at the root of the application hierarchy. It manages:

  • Shared system dialogs (e.g. contact/channel import)

  • Global version and firmware checks

  • System-wide alerts and snackbar hosts

  • Deep link navigation interception logic

Platform hosts should invoke this near the root before rendering MeshtasticNavDisplay.