Montra Connect
One React Native app for four kinds of commercial electric vehicle, with live fleet tracking, a real-time instrument cluster and a Bluetooth link to the vehicle.
- Industry
- Automotive, connected EVs
- Company
- TI Clean Mobility (TIVOLT Electric Vehicles)
- My role
- React Native Developer, owned the frontend architecture
- Platforms
- Android, iOS
- Period
- Jun 2024 to Mar 2026
Live on Google Play & App Store
- EV segments in one app
- 4
- Three-wheelers, small commercial vehicles, heavy commercial vehicles and tractors.
- vehicles in a single fleet
- 10,000+
- The largest single fleet account the map had to handle.
- fewer native-to-JS events
- ~99%
- About 100 incoming events per second, sent as 1 combined update per second. This counts bridge events. It is not a CPU or battery measurement.
- Google Play downloads
- 10K+
- From the public store listing.
Screenshots from the public app store listing.
Overview
In short
- Set up the app from scratch and made the core architecture calls: Zustand for client state, TanStack Query for server data.
- One configuration-driven codebase serves four vehicle segments instead of four separate apps.
- A real-time fleet map that stays usable with 10,000+ vehicles, using clustering and Server-Sent Events.
- A Kotlin native module that buffers and decodes CAN bus data from the vehicle over Bluetooth Classic.
- Led the upgrade from React Native 0.69 to 0.76 and the New Architecture in phased releases.
Montra Electric builds four very different commercial EVs: electric three-wheelers, small commercial vehicles, heavy trucks and tractors. Owners and fleet operators need one place to see where their vehicles are, how they're driving and what state the batteries are in.
Each segment reports different data and needs different features. The easy route would have been one app per segment, which multiplies every feature, bug fix and release by four. I set up Montra Connect from an empty repo to avoid that.
What I owned
- Initial app setup and frontend architecture decisions
- Configuration-driven rendering for all four vehicle segments
- Fleet map with clustering and live updates
- Real-time graphical instrument cluster
- Kotlin native module for Bluetooth Classic and CAN bus telemetry
- React Native 0.69 → 0.76 upgrade and New Architecture adoption
- Android Auto proof of concept
- Code reviews, development guidelines and production monitoring
Built by others
Backend APIs, vehicle configuration service and telemetry infrastructure were built by the backend team.
Other React Native developers built additional features; I reviewed their code.
1. Bluetooth telemetry without flooding the JavaScript thread
- Problem
Over Bluetooth Classic, the vehicle streams CAN bus data at roughly 100 events per second, about one every 10 ms. Passing each one across the React Native bridge means 100 cross-thread events and state updates every second, for a dashboard people read once a second at most.
- Decision
Do the high-frequency work on the native side, where it's cheap, and send JavaScript only what the screen needs.
- How
- A Kotlin native module receives the Bluetooth Classic stream.
- Raw frames collect in a buffer on the native side.
- Once a second, the buffered CAN binary data is decoded into structured JSON.
- That JSON goes to React Native as a single event, and the instrument cluster renders from it.
Try it: where should the work happen?
Incoming from vehicle
100 / s
Events crossing to JS
0 / s
Last update received by JS
{ speed: 42, soc: 76.4, volts: 51.2 }
- Result
Native-to-JavaScript events dropped from about 100 per second to 1, a reduction of about 99%. The instrument cluster gets a steady, predictable update rate.
2. One app, four vehicle segments
- Problem
A three-wheeler, a heavy truck and a tractor report different telemetry, support different features and need different menus. Forking screens per segment would have meant four versions of everything.
- Decision
Let the backend describe what each vehicle supports, and have one shared app render from that description.
- How
- The backend sends a configuration listing each vehicle's features and telemetry parameters.
- Shared screens and reusable components show or hide fields, telemetry, menus and bottom navigation based on that configuration.
- Common workflows stay identical across segments. Only what really differs is conditional.
Try it: pick a vehicle, keep the same screen
The screen
Heavy commercial vehicle
- Speed
- 58 km/h
- Range
- 154 km
- Battery
- 81%
- Pack voltage
- 312 V
- Payload
- 7.2 t
- Tyre pressure
- 8.4 bar
- Trips
- Charging
- Alerts
- Service
- Roadside assistance
- Documents
- Home
- Map
- Fleet
- Account
The configuration the backend sends
{
"segment": "hcv",
"telemetry": [
"speed",
"range",
"battery",
"packVoltage",
"payload",
"tyrePressure"
],
"menu": [
"trips",
"charging",
"alerts",
"service",
"roadsideAssistance",
"documents"
],
"bottomNav": [
"home",
"map",
"fleet",
"account"
]
}Same components, same screen. The configuration decides which fields, menu entries and tabs appear.
Showing the Heavy commercial vehicle configuration
- Result
One codebase, one release process and one place to fix bugs. A new vehicle-specific feature is a configuration entry plus a component, not a new app.
3. Tracking a 10,000-vehicle fleet in real time
- Problem
One fleet account had more than 10,000 vehicles spread across India. Drawing that many markers on a phone map is unreadable and slow.
- How
- The backend provides vehicle coordinates. The app clusters them on the device with react-native-clusterer's useClusterer hook.
- Zoomed out, vehicles merge into numbered clusters. Zooming in breaks them apart into individual vehicles.
- Live positions and movement arrive over Server-Sent Events (react-native-sse).
- Result
The map stays readable and responsive for the largest fleet, at country zoom and at street zoom.
4. React Native 0.69 → 0.76 and the New Architecture
- Problem
The app started on React Native 0.69. Moving to 0.76 was a major jump: native dependencies broke, some libraries didn't support the New Architecture yet, and regressions would reach real fleet operators.
- Decision
Never change the framework version and the architecture in the same release.
- How
- Audited every dependency. Each one was upgraded, replaced, or fixed with patch-package.
- Shipped 0.76 on the legacy architecture first, and enabled the New Architecture in a later release.
- Ran regression tests across multiple devices and environments before each release.
- Rolled out in stages and checked Sentry, Firebase Crashlytics and Amplitude daily during the migration.
- A later, smaller upgrade took the app from 0.76 to 0.78.
- Result
The app moved to a current React Native version and the New Architecture without one large, risky release.
Also on this project
- A real-time graphical instrument cluster showing speed, remaining range, battery voltage and battery health, with fields that vary by vehicle segment.
- An Android Auto proof of concept in Kotlin with menus, information screens, a map and nearby charging stations and service centres. (Proof of concept only; production Android Auto support shipped separately later.)
Next case study
Equip Health