Sync model » History » Version 1
Mara Oyelaran, 05/26/2026 02:18 PM
| 1 | 1 | Mara Oyelaran | # Sync model |
|---|---|---|---|
| 2 | |||
| 3 | Beacon is offline-first: every change is written to the local store and enqueued, and the queue is |
||
| 4 | drained whenever there is a connection. A technician can work a full day in a basement and lose |
||
| 5 | nothing. |
||
| 6 | |||
| 7 | The queue is ordered per job and unordered between jobs, so a stuck photo upload on one job cannot |
||
| 8 | hold up a signature on another. Each entry carries a client-generated id, which is what makes the |
||
| 9 | server side idempotent. |
||
| 10 | |||
| 11 | Conflicts happen when the same job was edited on the server while the device was offline. The device |
||
| 12 | keeps both versions and asks. That dialog is the part of the app people complain about most, and the |
||
| 13 | rewrite in 4.3 is about making the two sides distinguishable at a glance. |