- Client
- Trackforce, maker of TrackTik, a workforce management platform for physical security operations
- Engagement
- Embedded in Trackforce's mobile team: maintained the current app and led three Trackforce developers on stability work
- Product
- The TrackTik mobile app: shifts, patrols, incident reports and communication with dispatch
- Platform
- Native Android (Kotlin)
The brief
Guards work in parking garages, basements and remote sites with weak or no signal, sometimes for months. They still clock shifts, log patrols and file incident reports, and none of it can be lost.
Trackforce needed a stability push on the app guards use every shift.
Before this engagement, our founder worked at Trackforce as a full-time employee and designed the offline-first architecture for a new version of the app.
What was at stake
- An app that freezes on a guard's phone can mean a missed check-in or a late incident report.
- Guards can be offline for months, so the data they download has to be on the device before they lose signal.
Our approach
Decision 01Fix the cause of each freeze
- Context
- Freezes on guards' devices came from slow work running where the user interface waits on it.
- Decision
- Move that work off the main thread across the critical paths, one path at a time, in code guards depend on during a shift.
- Tradeoff
- Slower than patching individual crashes, but the cause goes away.
Decision 02Keep the offline download within memory limits
- Context
- Guards rely on data downloaded for offline use, and the download has to fit within the app's memory limits on their phones.
- Decision
- Change how the download runs so it stays within those limits.
- Tradeoff
- More complex download logic, in exchange for a download guards can rely on.
How we worked with the team
- Inside Trackforce's process. Their repository, code review and sprints.
- Led three Trackforce developers on maintenance and stability: root-cause analysis, implementation, review and following each fix through to release.
- A structured handover to Trackforce's team at the end of the engagement.
For your tech lead
The wider patterns for guard apps are written up in our own engineering notes, without client detail:
Next step
Tell us where your field app breaks when the network drops.
Book a 30-minute technical callor email info@devsflow.ca