Mobile Overview
The mobile app (mobile/) is a Flutter client focused on two disaster-response capabilities:
- Field help requests (capture disaster type, details, optional photo, current location).
- Offline AI assistant bootstrap (download and run an on-device model on Android).
Technology Stack
- UI Framework: Flutter (Material 3)
- Language: Dart (SDK
^3.9.2) - Native Bridge: Flutter
MethodChannel(llm_inference) - Android Inference Runtime: Kotlin + MediaPipe GenAI (
com.google.mediapipe:tasks-genai:0.10.22) - Device Features:
location,image_picker - Local Metrics: JSON + CSV export via
path_provider
Capabilities
- App shell, routing, theming, splash, and home navigation.
- Android model download flow with progress callbacks.
- Android native inference engine wrapper and Flutter bridge methods.
- Metrics capture (latency, memory, throughput-like indicators) persisted locally.
- Help request UI form with media + location capture.
Mobile Documentation Map
- Architecture: component-level and lifecycle internals.
- Workflows: step-by-step runtime sequence diagrams and flowcharts.