Skip to Content
Coding House

Live Truck Tracking

Go live in one tap, drop off the map automatically

Client
Ice Cream Truck Marketplace
Industry
Food & Mobile Retail
Platform
iOS & Android
Timeframe
4 months
Live map for an approved vendor

About project

How approved vendors appear on a live map with battery aware background tracking, and how the platform keeps the map honest.

A truck that is not on the map does not sell. Drivers cannot update their position by hand while driving, and a map full of trucks that went home hours ago destroys customer trust.

Challenges & Solutions

Challenges

Reliable background location on iOS and Android while the app is closed, with clear permission dialogs and a map that stays accurate even when drivers forget to sign off.

Solutions

Once approved, the vendor opens the app and starts the shift with one button. The app reports the truck position in the background on a configurable interval with a distance filter.

A server job deactivates trucks that stop reporting. Vendors can switch off location, change their email after a password check and delete the account, which also removes trucks and permit files.

Main functionality

Real-Time Truck Tracking and Self-Service Account Control

Live Google Map
A marker and coverage circle for each active truck.
Background tracking
15 minute default interval and 500 m distance filter.
Automatic cleanup
Trucks silent for 15 minutes leave the map.
Remote tuning
Coverage radius and intervals set from Remote Config.
Self-service deletion
Account, trucks and documents removed in the background.

Results

15 min
to clear a silent truck
500 m
distance filter in release builds
  • Vendors appear on the map without manual work
  • Trucks disappear automatically when they stop
  • Data deletion expectations met without manual operations

Technical implementation

  • Geohash recomputed by a Firestore trigger only when the location changes
  • Two schedulers: every 15 minutes and twice a month
  • Account deletion as a verified callable function with a task record

Industries

Services

Solutions

Technologies

More use cases

Talk to Us

Have a similar project in mind?

Let's discuss your idea and find the right solution for your business.

Talk to Us