Mali is halfway through repairing a hotel coffee machine when her phone loses signal. She has the machine open, the serial number in front of her, and one hand free to type. If her service app makes her wait until she’s back upstairs, she’ll have to copy the number somewhere else or take the machine apart again. What she wants is simple. Let her save the number while she can still see it.
That moment is a good starting point for offline-first design. Which tasks do people need to finish on the spot? What information will they need on the device? And when they tap Save, what can the app honestly promise?
Choose what belongs on the phone
Before Mali leaves for the hotel, her app can download the day’s assigned jobs. Downstairs, it can open the job sheet directly from her phone, even if she’s never viewed that particular sheet before. That detail matters. An app that remembers only the screens people have already visited is a poor companion on a first visit to a new customer. developer.android.com
Frequency is one clue to what belongs offline. Urgency is another. Mali reads a job sheet on every visit, but she might need a particular machine diagram only once a year. At the moment she needs it, that diagram is worth more than a hundred old invoices.
| What Mali needs | What the app can do offline | What might change while she’s disconnected? |
|---|---|---|
| Job address and machine model | Download both with today’s assignments. | Dispatch might change the location. Show when the job sheet was last updated. |
| The diagram for this machine | Save the relevant diagram in advance and show its revision. | A newer revision may become available. |
| Repair notes and serial numbers | Save each entry on the device as she works. | A colleague might add a separate observation to the same job. |
| A replacement part | Record the request and display the last known stock count with its timestamp. | Another technician might take the last part. Show the reservation as confirmed only after the inventory service accepts it. |
The same reasoning limits what the phone should carry. Mali needs the address of today’s customer. She has little use for the addresses of everyone the company has ever served. Keep downloads scoped to the signed-in worker and protect sensitive records with appropriate on-device encryption and platform-provided key storage. On a shared phone, that protection also has a practical test. When the next technician signs in, can they see Mali’s customer records or unsent notes? OWASP Mobile Application Security
Make “saved” mean something the user can trust
Mali types “Replaced pump seal” and taps Save note. The app saves the note and its pending upload together, then displays Saved on this device · Waiting to sync. She can close the app, put the phone in her pocket, and reopen it with her words intact. Once the server acknowledges the upload, the label changes to Synced. Each message answers a different question. Can Mali put her phone away? Can dispatch see what she wrote? developer.android.com
A trickier moment comes on the stairs. The phone gets just enough signal to send Mali’s request for one replacement part. The warehouse accepts it, but the connection drops before the confirmation reaches her phone. Should the app try again? From the phone’s perspective, silence could mean success or failure.
The app can give the request a unique identifier when Mali first saves it and reuse that identifier on every retry. The warehouse system can then recognize the request it already accepted and return the recorded outcome. Mali can walk through three more dead spots and still end up with one reservation for one part. Engineers call this idempotency. For Mali, it means she can put her phone away without having to call the warehouse and ask how many parts she just ordered. aws.amazon.com
Decide whose change wins, field by field
While Mali is downstairs, dispatch moves her follow-up visit from Thursday to Friday. Mali, working from the morning’s schedule, adds her repair note. If her phone uploads its entire copy of the job and the latest upload wins, Thursday could quietly reappear on everyone’s calendar.
A better approach is to send the note as an addition to the job. The appointment field stays untouched, and both changes survive. A genuinely competing edit needs a different rule. Suppose Mali also proposes Saturday for the follow-up. If her change includes the schedule version she originally saw, the server can detect that dispatch has since updated it. Version tracking reveals the disagreement. The team still has to decide who can resolve it. developer.android.com
Different parts of the same job can justify different rules:
- For repair observations, keep both entries. Two technicians may notice different things. Save each note with its author and time so the next person can read both.
- For confirmed appointments, give dispatch the final say. Mali can propose Saturday, and the app can show that proposal alongside the confirmed Friday visit until dispatch responds.
- For competing edits to handover instructions, preserve both versions. Show the job owner which wording differs and let them choose or combine it before the next technician sets out.
Try the lift test
Start with a job the phone has downloaded but Mali has never opened. Switch to airplane mode, open the job, add a note, close the app, and reopen it. Can she find her exact words? Can she tell whether dispatch has received them?
While the phone is still offline, change the appointment from another device. Then reconnect and check the job from both sides. Mali’s note should appear once. Friday should remain on the calendar. If someone still needs to decide about Saturday, that person should be able to see the proposal. This exercise tests what matters over the course of a real shift, including the awkward stretch between losing service and getting it back.
Conclusion
For Mali, success means she can put the machine back together knowing the serial number is saved. Later, she can see whether the warehouse reserved her part and which day dispatch confirmed for her return. Those are three distinct promises, and a dependable app tells her when it has kept each one. That’s the question worth designing around whenever the signal drops: what can the user confidently do with the next tap?
