Campo Certo
Offline-first field service app
Technicians finish the whole job without signal (checklist, photos, parts, signature) and everything syncs, field by field, the moment the phone is back online.
Concept project · fictional brand and sample dataApp in Portuguese
- 25
- automated tests passing
- 0 / 1,000
- divergences in 1,000 offline-sync scenarios
- 5,609
- device operations in the fuzz test, none lost
- 29.6 ms
- median sync of a 15-operation offline job over HTTP
The brief
Field technicians work in basements, plant rooms and rural sites where the signal comes and goes. Paper job sheets get lost or typed in days later, online-only apps freeze mid-job, and naive offline modes either lose data or overwrite what the office changed in the meantime.
What I built
- Expo (React Native) app where every action is saved locally first, as an operation in an outbox, and shown at once
- Today's jobs with status, priority and time windows, and an offline route map drawn in SVG with no tiles or API key
- Full job offline: checklist, parts with a running total, photos, notes, timers and the customer's signature
- The same domain rules on the device: a job can't be completed without the required checklist items, a photo and a signature
- Sync after each change, on reconnect and on an interval, with backoff and idempotent operations, so a lost response never duplicates anything
- Back-office web view with live reports, photos, signature and the full sync history over Server-Sent Events
The decision that mattered
Merge fields, not saves
The server replays every queued operation through a per-field merge policy instead of "last save wins". If the office cancels a job the technician already finished offline, the field evidence wins and the order is flagged for review. Notes get a three-way merge, photos and parts are append-only so they never conflict, and schedule and priority belong to the office. A losing write is reported, never dropped silently.