Skip to content
Articles
Article

Two devices edited the same record offline. Which edit wins?

by Stacklyn Labs dev.to

3 min read

A user is on a flight with no Wi-Fi. They open your Flutter app and edit a document. On the ground, a colleague opens the web dashboard and edits the same document. The plane lands, the phone reconnects, and your sync service now holds two versions of the same record. If the app simply pushes its copy and overwrites the server, the colleague's work is gone. Nobody gets an error. The data just qui…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by