Pulse of the Fleet — Real-Time Emergency Dispatch & Navigation for Uganda
AmbuLink Driver
Pulse of the Fleet — Real-Time Emergency Dispatch & Navigation for Uganda
---
## 📌 Overview
**AmbuLink Driver** is the dedicated mobile interface for ambulance responders within the AmbuLink ecosystem. While the AmbuLink Web Platform handles coordination and patient bookings, this Flutter application serves as the critical link between the dispatcher and the road.
It allows drivers to receive instant emergency SOS alerts, track their own position with high precision, and navigate directly to patients in need.
> *"Turning every ambulance into a smart, data-driven life-saving unit."*
## 🚑 Driver Workflow
1. **Go Online**: Simple toggle to signal availability to the autonomous dispatcher.
2. **Receive Emergency**: Instant full-screen notification with patient details and pickup location.
3. **Accept & Navigate**: One-tap acceptance with immediate transition to Google Maps navigation.
4. **En-Route Updates**: Automatic status pushes ("Assigned" -> "En Route" -> "At Scene") to keep patients and admins informed.
5. **Complete Trip**: Log the outcome and return to the available queue.
## ✨ Key Features
- **Real-time GPS Sync**: High-frequency location updates pushed to Supabase PostgREST for fleet visibility.
- **Smart Dispatch Alerts**: Integrated with Firebase Cloud Messaging (FCM) for low-latency notifications.
- **Precision Navigation**: Native Google Maps integration with real-time traffic considerations.
- **Operational Dashboard**: Monitor ratings, trip history, and driver level (Basic/Pro/Advanced).
- **Offline Resilience**: Graceful handling of connectivity drops with status caching.
## 🛠️ Tech Stack
| Layer | Technology |
|---|---|
| Frontend | Flutter (Dart) |
| State Management | Provider |
| Backend / API | Supabase (PostgreSQL / Edge Functions) |
| Real-Time | Supabase Realtime & WebSockets |
| Position Tracking | Geolocator (High Accuracy) |
| Notifications | Firebase Cloud Messaging (FCM) |
| Maps / Navigation | Google Maps F …