Offline Indicator
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
A persistent UI element that communicates the current connectivity state of the device to the user. It appears in the mobile app shell whenever the device loses network access, reassuring field users that their actions are being captured locally.
offline-indicator
Sources & reasoning
Listed as a Mobile App area feature in the canonical taxonomy (§8) and explicitly described in the Mobile App Architecture Core/Shared section as offline-first encrypted persistence. Field-work context in §1.1 makes offline non-negotiable, so MVP.
-
docs/source/likeperson.md · line 227Offline-first persistence (Drift + SQLCipher encrypted local DB, mutation outbox, sync queue with retry/backoff, ID mapping for offline-created entities, conflict resolver)
-
docs/source/likeperson.md · line 369offline-sync | Offline & Sync | Offline Data Support, Background Sync
Responsibilities
- Display a visible banner or badge when the device is offline
- Subscribe to connectivity state changes from the platform
- Hide automatically when connectivity is restored
- Provide accessible labeling for screen readers
Interfaces
render(connectivityState): Widget
onConnectivityChanged(state): void