Lack of connectivity is not an exceptional scenario. People ride the metro, switch carriers, work in warehouses with concrete walls, live in villages with weak signal or simply have a limited data plan. For Ukrainian users, power outages add to this, when cell towers work intermittently. Offline experience should honestly define what the product can do now and what it will synchronise later.

In our projects we do not ask "do we need offline mode?". We ask which user actions must never be lost and what data people need when there is no network. The answer shapes the architecture, the scope of work and how the interface communicates sync state. Below are the levels of offline support, design principles and the scenarios you must test.

Three levels of offline support

  1. Reading the last successful data. The app shows a saved copy with a timestamp.
  2. Creating a draft or local action. Users can fill in a form, write a message or add an item to a list, and sending happens later.
  3. A change queue with sync and conflict resolution. Full work without a network, with later merging of changes from several devices.
LevelWhat the architecture needsRelative complexityTypical products
1. ReadingLocal database or cache, timestampLowMedia, catalogues, reference apps
2. DraftsLocal input storage, send queueMediumMessengers, forms, e-commerce
3. Full syncChange log, idempotent API, conflict strategyHighNotes, field reports, CRM, inventory

Do not promise full offline behaviour when the system cannot guarantee consistency. Level two is often enough to ensure people never lose work, and level three is worth building only where the product cannot perform its core function without it.

Lessons from YouTube Go

Google Design describes how the YouTube team built YouTube Go for markets with expensive and unstable internet. Research began in India, where people complained that data usage was unclear, and interviews and field research continued throughout the roughly two-year development. According to a study cited in the article, 96% of people in India used prepaid plans, and participants often bought small packs, such as 100 MB, that they could exhaust in one sitting.

The key decisions were about control: the app showed a video's data cost before playback, let people preview key frames and the file size, and saving videos ahead of time became one of the most common behaviours in beta testing. Importantly, being offline was not treated as an error: without a network, users could still search, manage downloads and share videos with nearby devices. The service was later shut down, but the principle still holds: offline behaviour should be just as predictable as online.

Design principles for offline experience

  • The local database as the source for the UI. Screens read from local storage, and the network only updates it. Android describes this approach as offline-first.
  • Explicit states. "Saved on device", "Waiting to sync", "Couldn't send, try again". Each state has a clear label and action.
  • Preserving input. Any text, photo or completed form is stored locally until the server confirms it.
  • Idempotent operations. Every action has a unique key, so resending after a dropped connection does not create a duplicate order or payment.
  • Background sync. On Android, WorkManager with network constraints; on iOS, background URLSession and BGTaskScheduler. The system picks the moment when the network returns.
  • A conflict strategy. Last write wins, field-level merging or asking the user: the choice should be deliberate and documented.

How to talk about sync in the interface

A technically correct sync queue achieves nothing if people do not understand what is happening. In our mock-ups, every action that can be performed offline has at least four presentations: done and confirmed by the server, saved on the device, being sent right now, and failed and needing attention.

A few rules that work well in practice:

  • Show the no-network banner once and compactly instead of blocking the whole screen with it.
  • Mark items waiting for sync next to the item itself, with a clock icon or caption, not only with a general message.
  • Phrase a sync error so it is clear what exactly was not sent and what to do: retry, edit or delete.
  • If the queue holds actions the server has not received, warn people before they sign out, or that data will disappear.

Step-by-step implementation

  1. List the key actions and define the required level of offline support for each.
  2. Describe the data those actions need without a network and estimate its size on the device.
  3. Agree with the backend on idempotency, record versions and the change log format; more on this in our article on designing an API for a mobile client.
  4. Implement local storage and a send queue with retries and exponential backoff.
  5. Design every sync state in mock-ups before development.
  6. Add analytics: how many actions were performed offline, how many waited for sync and how many ended in an error.

We discussed how to choose a freshness window for saved data in our article on caching in mobile apps.

Common mistakes

  • False success. The worst failure is showing "Sent" when the server received nothing.
  • Lost input. A form is cleared after a network error, and the user has to fill it in again.
  • An endless spinner. The app waits for the network with no timeout and no explanation.
  • Duplicates after retry. Without idempotency, two attempts mean two orders.
  • Silent loss of changes. A conflict is resolved automatically, but the user never learns their edits were overwritten.

What to test before release

  • Turning off the network in the middle of submitting a form or uploading a file.
  • Closing the app with an unsent queue and launching it again.
  • Switching accounts while the queue contains the previous user's actions.
  • Editing the same record from two devices at once.
  • Updating the app with a non-empty sync queue.
  • Long offline use: several days, dozens of actions, limited disk space.

Offline mode is not only a technical feature. It is a promise that users will not lose work because of conditions they cannot control.

Sources: Google Design: Making YouTube Go; Android Developers: Build an offline-first app; Android Developers: WorkManager; Apple: Background Tasks.