— 18 November 2026

Building apps that work on patchy Indian networks

How to design and build mobile apps that keep working on slow, dropping or offline connections — local storage, sync queues, conflict handling and honest loading states.

  • Technical
  • Performance

Your office has fibre. Your users have a 4G signal that drops in lifts, metro tunnels, basements, warehouses and half the highway between cities. An app that assumes a perfect connection works beautifully in the demo and frustrates people every day in real life.

Two levels of “works offline”

Level 1: resilient on bad networks. The app does not freeze or lose work when the connection is slow or drops. Every app should reach this level.

Level 2: fully offline-first. Users can view and create data with no connection at all, and it syncs later. Field staff, delivery partners, inspectors, sales reps and rural users often need this.

Level 1: resilience for every app

Cache what users just saw. Lists, profiles, the last order — show cached data instantly, then refresh in the background.

Never lose input. If a form submission fails, keep the data and retry automatically. Nothing is more infuriating than retyping a long form.

Honest loading states. A skeleton screen, then the content. If it is taking long, say so. If the request failed, say what to do.

Timeouts and retries with backoff. Requests should time out sensibly and retry a few times with increasing delays, not hang forever or hammer the server.

Small payloads. Paginate lists, compress images, request only the fields you show. On a slow network, kilobytes are seconds.

Optimistic updates where safe. Mark the item as liked immediately and reconcile with the server after. Not for payments.

Level 2: offline-first design

Store data locally

Use an on-device database: SQLite (through Drift in Flutter, or libraries in React Native), or a sync-capable store. Firebase’s Firestore has built-in offline persistence, which covers many simple cases with little work.

Queue changes

Every change the user makes goes into a local queue first, then syncs when the network returns. The interface shows which items are “pending sync”.

Decide conflict rules up front

Two people edited the same record offline. What happens? Pick a rule per kind of data:

  • Last write wins — simple, fine for notes and preferences
  • Server wins — for data the server is authoritative on, like stock levels
  • Field-level merge — different fields edited by different people both survive
  • Ask the user — for important records where both versions matter

Choosing these deliberately is most of the work. Discovering them from angry users is worse.

Sync carefully

  • Sync in the background when the connection returns
  • Send changes in order, with unique IDs so retries do not create duplicates
  • Handle partial failures — some changes accepted, some rejected
  • Show users the result

What stays online-only

Some actions should require a connection and say so clearly: payments, anything that depends on real-time stock or pricing, and anything where acting on stale data causes real harm.

Real-time apps and bad networks

Real-time features — chat, live tracking, multiplayer — need reconnection logic: detect the drop, show it, reconnect automatically, and catch up on what was missed. Cortix, our real-time brain-games app, runs its match state on Supabase Realtime — exactly the kind of feature where a dropped connection has to be detected and recovered, not ignored.

Test on bad networks on purpose

Android and iOS developer tools can throttle the network. Test the main flows on slow 3G settings, with the connection switched off halfway through, and on a mid-range phone. Most of the problems in this post show up within ten minutes of doing that.

If you are deciding between frameworks, both handle offline well — see React Native vs Flutter. If you are choosing a backend, Supabase vs Firebase covers their offline stories.

This is the work behind our mobile apps service. Shipped examples: NAP Labs · Karum Kurum.

? COMMON QUESTIONS

Questions people actually ask.

What is an offline-first app?

An offline-first app stores data on the device and treats the network as something that may or may not be available. Users can view and create data without a connection, and the app syncs with the server when the connection returns.

Does every app need to work offline?

No, but every app needs to behave well on a slow or dropping connection. Full offline support matters most for field staff, delivery partners, warehouses, rural users and any app used while travelling.

How do offline apps handle conflicting edits?

With a defined rule for each kind of data — the latest edit wins, the server wins, edits are merged field by field, or the user is asked. The right rule depends on the data; what matters is choosing it deliberately rather than discovering it in production.

3 RELATED READING

Next to this one.

→ NEXT STEP

Have a product to ship?

Start a project ↗ hello@napdesigns.com