Web Development

How to plan an app's offline mode

OneClick Créations DigitalesEditorial team
2 min read
How to plan an app's offline mode

Define the available data without network and how to solve synchronization conflicts.

Choosing Offline Functions

List the necessary information on the field and those that may wait for the return of the network. Show the data waiting or extinguished.

Predicting Conflicts

Find out what happens if two users change the same record. Present the rule to the teams and give a way to fix a conflict.

Illustration of the development phase
Use and error scenarios guide implementation choices.

Testing the interruptions

Cut the connection during a entry and during the sending. Check the reboot of the application and the absence of duplicates after synchronization.

Examples of implementation

A supplier can change an address while a colleague corrected it from the office. On fictitious files, cut off the network, enter both changes, and then check what conflict the tool signals and how the user can restart his work.

points of attention

Please inform the user that a local registration is not yet transmitted. Make sure the data is re-started. Differentiate a network break from a conflict that requires a decision.

Points to check before validating

A failure and a conflict don’t lose the changes. The user is still waiting for the data.

Simulate the conflict before promising synchronization

Cut the network from a device, correct a file and then make another online correction from a second device. When returning from the network, check if both versions are saved, if a conflict is ⁇ and who can solve it. Also try a reboot before sending.

In the interface, distinguish sent, waiting and checking. The user must be able to explain why a change is not yet in the file visible in the office.

OneClick Créations Digitales

OneClick Créations Digitales

Editorial team

The OneClick team helps organisations with digital transformation, combining creative and technical expertise.

Urgent project?