Skip to content
Faeez Shabbir
WorkServicesAboutCVBlogContact

Case study, 2026

Built

Ride

A GPS speedometer for bicycle, motorbike and car rides. It keeps tracking with the screen off, warns you over the limit, and saves every ride with a speed-coloured route map.

Role
Solo. Product, design and the Android app.
Timeline
2026
Stack
React Native, Expo SDK 58, Expo Router, TypeScript, expo-location, expo-sqlite, MapLibre, OpenStreetMap
Status
Built

The problem

On a bike you cannot fiddle with your phone. Ride is built so you do not have to: it keeps recording with the screen locked, can start a ride by itself when you get moving or when you tap an NFC sticker on the mount, and keeps every ride on the phone.

Decisions

  1. Speed from the GPS chip, not from guesses

    Live speed comes from the GNSS chip's Doppler measurement, which is steadier than working speed out from position changes, with distance over time as the fallback. Each vehicle has its own threshold for GPS drift, so a parked phone does not add distance.

  2. Tracking with the screen off

    An Android foreground service, run through Expo's TaskManager, keeps the ride going when the screen is locked. If the app is killed mid-ride, the ride is picked back up.

  3. Auto start, built around Android's rules

    One background service has two modes: a low-power watch on Wi-Fi and cell positions, and full GPS for recording. Android blocks starting a location service from the background but allows retuning one that is already running, so I read the expo-location native code to confirm that, then built the switch around it.

  4. NFC start through a config plugin

    Expo's config could not express an NFC intent filter, so a small config plugin adds it to the Android manifest. A sticker holding ride://start on the mount opens a deep link that starts the ride.

  5. A dial without an SVG library

    The 270° speedometer is built from plain React Native Views: rotated tick marks, a gradient arc made of short segments, and a needle animated on the native thread.

  6. Everything stays on the phone

    Rides, GPS points and settings are stored on the device in SQLite. There is no account and no server, and location only leaves the phone for the speed-limit and map-tile lookups.

  7. Trust what renders, not the status code

    One map provider answered with HTTP 200 but served an 'API key required' placeholder image. I check what actually draws on screen now, and the maps use OpenStreetMap tiles.

What it looks like

Results

  • Built and tested on Android, with vehicle profiles, speed alerts, a ride log, a HUD mode and a 0 to X sprint timer.
  • Signed with a development key for personal use. It is not on the Play Store.
  • iOS is set up but untested, and auto start has not yet been tested on a real ride.
  • Source is private and available on request.

Next project

Noola Impact

Have somethingto build?

Email

usually back within 24h

Click to copy, or use Email. Usually replies within 24h.

30 min call on Calendly

Hire me on Upwork
Prefer a form? Open the classic form

Project inquiry

Timeline
Budget range
Your range for this project. Not a price from me.

  • Work
  • Services
  • About
  • CV
  • Blog
  • GitHub ↗
  • LinkedIn ↗
  • Instagram ↗
  • Back to top ↑
© 2026 Faeez ShabbirLahore --:-- PKTOpen to new projects