Files
Meshtastic-Android/feature/intro
James Rich 6c3b4b7868 feat(permissions): migrate all call sites off Accompanist + add denial recovery
Migrate intro, both map flavors, and the barcode scanner to the native
rememberXxxPermissionState() helpers; remove accompanist-permissions from
the version catalog, feature convention plugin, and module build files.

Add user-facing denial recovery where it was previously silent: barcode
camera shows a PermissionRecoveryCard, USB permission denial surfaces an
error message, and the map location button routes permanent denial to app
settings. Convert the Bluetooth bonding error to a string resource.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 11:57:49 -05:00
..

:feature:intro

Overview

Targets: Android · JVM (Desktop) · iOS

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.

Dependency Graph

graph TB
  :feature:intro[intro]:::kmp-feature
  :feature:intro -.-> :core:service
  :feature:intro -.-> :core:common
  :feature:intro -.-> :core:model
  :feature:intro -.-> :core:repository
  :feature:intro -.-> :core:ui
  :feature:intro -.-> :core:resources
  :feature:intro -.-> :core:testing

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;