Overview
This example covers driver dispatch for delivery and ride-hailing operations. A service request arrives, the proximity engine finds the nearest available driver, dispatches them, and tracks the delivery to completion - all working offline when the driver loses connectivity.1. Submit a Service Request
2. Score and Dispatch Nearest Driver
3. Driver App - Offline-First (React Native)
4. Real-Time GPS Tracking
The dashboard shows driver positions in real time. GPS coordinates are updated viaupdateMemberLocation and displayed on the operational map for supervisors.
5. Webhooks for Your Backend
Offline Scenario - What Happens
Driver enters a tunnel or rural area with no connectivity:updateMemberLocation- queued locally in AsyncStorageupdateMissionStatus('COMPLETED')- queued locally- Connectivity restored -
flushQueue()syncs all operations in order - Your webhook receives the events with original timestamps
- Zero data loss, zero duplicates - idempotency key enforced

