mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-12 08:42:01 -04:00
- Create IntroPermissions and IntroSettingsNavigator abstractions in commonMain - Move all screens, nav graph, and helpers from androidMain to commonMain - Add AndroidIntroPermissions/AndroidIntroSettingsNavigator adapters (Accompanist) - Add JVM stubs with always-granted permissions and no-op settings nav - AppIntroductionScreen remains in androidMain as thin CompositionLocal host - Add CMP @PreviewLightDark previews for all 5 intro screens - Update spec 010-onboarding tasks.md: OB-T101 complete (17/19) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
:feature:intro
Overview
The :feature:intro module provides the onboarding experience for new users. It handles the initial welcome flow and requests mandatory permissions (Location, Bluetooth, Notifications).
Key Components
1. AppIntroductionScreen
Orchestrates the multi-step onboarding process.
2. Permission Screens
Dedicated screens for explaining and requesting specific permissions:
LocationScreen: Necessary for mapping and BLE scanning (on older Android versions).BluetoothScreen: Necessary for connecting to radios.NotificationsScreen: Necessary for foreground service and message alerts.
Module dependency graph
graph TB
:feature:intro[intro]:::kmp-feature
classDef android-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-application-compose fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef compose-desktop-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef android-library fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-library-compose fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-test fill:#A0C4FF,stroke:#000,stroke-width:2px,color:#000;
classDef jvm-library fill:#BDB2FF,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library-compose fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef unknown fill:#FFADAD,stroke:#000,stroke-width:2px,color:#000;