Tech12 July 2026 · 12 min read

How we built GPS tracking with 3 m accuracy (and 3 s latency)

A technical deep dive into our Supabase Realtime + OSRM + Capacitor stack.

Watching your car approach is the most reassuring feature there is. It's also the least forgiving: a wrong or late position and trust collapses. Here's how we do it.

The pipeline

  • The driver app (Capacitor, iOS) publishes its position every 3 seconds
  • Supabase Realtime streams it to the ride's passenger, and only them
  • OSRM computes the real road route and ETA
  • The rider app interpolates between points for smooth motion

Why OSRM

Fares are computed upfront on real road distance, not as the crow flies. OSRM gives us that distance and the estimated duration, which feed both the locked price and the ETA on screen.

“One point every 3 seconds is the trade-off between the driver's battery and the rider's peace of mind.”

And privacy

Location is only shared during an active ride, and only with the people involved: the passenger, and the loved ones they chose to share their trip with.

All stories