Tasks

Sunrise Mobile 2.0T-002

Offline mode: create and edit invoices without a connection

Thursday, Nov 26, 17:00

Description

Description

A third of our customers work in basements, vans and new buildings with no signal. Today the app shows a spinner and the invoice is lost. This is the number one reason in 1-star reviews (41 of the last 120).

Scope

  • Create, edit and duplicate an invoice offline; photos and signatures are kept on the device
  • A queue that syncs in order when the connection is back, with a visible "3 waiting to sync" chip
  • Conflicts: the newest edit wins, the other version stays in the invoice's history
  • Not in 2.0: taking card payments offline

Done when

  • Sync of 20 invoices on 3G under 15 s
  • Invoice numbers never clash after sync
  • Airplane mode for 24 h, 20 invoices, nothing lost on iOS and Android
  • QA script in the test plan passes on 6 devices

Notes

Numbers are reserved in blocks of 50 per device. See the decision in the Mobile 2.0 release plan page.

Subtasks

2/4 done

Comments, History and Related

  1. Queue and number blocks are merged. 20 invoices on throttled 3G sync in 11 s. Conflict screen is what is left.
  2. Conflict screen is ready in the design file: two cards side by side, changed fields highlighted. Copy is final.
  3. for 2.0 please make "newest wins" the default and show the screen only when the amount differs. 9 in 10 conflicts in the beta were just notes.
  4. Agreed, that removes most of the cases. Will be in tomorrow's build.
  5. 📍 Progress 75% On track.