To show customers where the delivery person is and how long it will take for their groceries to arrive, you’ll need to integrate real-time tracking and ETA (Estimated Time of Arrival) features in your app. Here’s a step-by-step breakdown of how to build or design this system:
Key Features Required
Real-time Location Tracking
Estimated Time of Arrival (ETA)
Map View with Delivery Person Marker
Status Updates (e.g. “Out for Delivery”)
How to Build It
1. Use a Mapping SDK (for the map and routing)
Choose a service that gives you maps, directions, and ETA calculation:
Google Maps SDK (most popular)
Mapbox
HERE Maps
OpenStreetMap (with tools like OSRM)
These provide:
Turn-by-turn directions
Real-time ETA
Live map views with vehicle tracking
2. Track the Delivery Person
The delivery app (driver app) must:
Continuously share GPS coordinates to your backend (every 5–10 seconds).
Use APIs like:
navigator.geolocation (Web)
FusedLocationProviderClient (Android)
CLLocationManager (iOS)
This data is sent to your backend, where you:
Store current location
Broadcast it via WebSockets or Firebase to the customer’s app
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.