Offline-first enterprise apps
ZarST field app: work is recorded on the device first and synchronized when the network returns.
- A field worker starts a GPS-tracked shift, takes photo reports and adds objects bound to the map — with or without signal.
- Everything is written to a queue on the device, so basements and wells without coverage lose nothing.
- When connectivity returns, the queue is sent to the sync API automatically.
- The backend validates and stores the data in MySQL; managers see crews on the GPS monitoring map in the web console.
Context
ZarST field crews work in basements, at wells and on the outskirts, where the mobile network often disappears.
Technical challenge
GPS shift tracks, photo reports and new map objects must survive a lost signal and reach the office without anyone pressing “retry”.
Chosen solution
The React Native app writes every action to an on-device queue first; when connectivity returns, the queue is synced to the API automatically and managers see crews on the GPS monitoring map.
Trade-offs
Office data lags behind the field until a device syncs — accepted, because losing a shift track or a photo report is worse than seeing it a few minutes later.
Result
The field app is published on Google Play, including AAB signing, the privacy policy and the background-location justification.
All deep dives