Designing Mobile Experiences That Survive a Lost Connection
Offline behavior is a product decision. Decide what people can do, what stays on the device, and how changes return to the server.

Define what useful offline work means
Start with the task a person is doing when the network disappears. Reading an existing appointment, drafting a note, and confirming a payment have different requirements. Make a deliberate decision about which tasks can continue and which need a connection.
Explain those limits in the interface. Show when information was last refreshed, and distinguish a saved draft from a completed transaction. A person should not have to guess whether a button actually changed the business record.
Choose what belongs on the device
Store only the information the task requires and consider its sensitivity, retention, and protection. Define what happens when someone signs out, changes accounts, or loses access to a record.
Cached information can become outdated. Decide how long it remains useful and what the application should show when that period expires. Public reference information and private customer records should not automatically share the same storage policy.
Plan how changes are reconciled
A queued update may arrive after someone else has changed the same record. Document which changes can merge automatically and which require a person to decide. Use stable identifiers so repeated uploads do not create duplicate work.
Make synchronization status visible without overwhelming the screen. Provide a way to review failures and retry appropriate operations. Avoid automatically repeating an irreversible action simply because the client did not receive a confirmation.
Test interruptions as normal behavior
Test airplane mode, weak connectivity, app restarts, expired sessions, and switching between accounts. Use actual devices and representative data rather than checking only a browser network simulation.
Include recovery in your acceptance criteria. A successful offline design lets people understand what happened and complete their task once a connection returns. Keep that behavior documented so future releases preserve the same guarantees.


