← All articles

Offline mobile applications: plan the synchronisation

Understand offline operation through local data, pending changes, conflicts, expired sessions and recovery when connectivity returns.

Weak connectivity is a normal scenario for field applications. Displaying cached information differs from editing data without a connection. Each needs explicit rules.

Make it clear what is saved on the device and what the server has confirmed. A pending change is not a completed operation.

Choose which actions can work offline

A catalogue can be available locally while final reservation of a limited resource may require a server. Decide whether each operation is read-only, can be queued or needs connectivity.

Android describes local and network data sources for offline-capable applications. That architecture still needs rules specific to the business operation.

Expose pending changes clearly

Users need to recognise queued data, failed operations and conflicts. Otherwise, repeated actions or entry on another device may create duplicates.

  • Identifiers for repeated operations.
  • Ordering and bounded retry attempts.
  • A rule for conflicting edits.
  • Behaviour when access expires before synchronisation.
  • Appropriate removal of local data when signing out.

Interrupt the connection at different stages

Disconnect before sending, during the request and after the server saves the change. Restart the application while operations remain queued.

MSS develops mobile applications and APIs with synchronisation designed alongside business rules. Offline functionality then has a defined scope and verifiable behaviour.

Documentation and sources

What should your software do better?

Describe the task, the system or the idea. We will clarify the scope and propose the next steps.

Call us · +359 89 341 4446

If we miss your call, expect a call back within 2 hours.

Prefer to write?