Skip to content

0020 backup notice and switch

github-actions[bot] edited this page Nov 18, 2026 · 2 revisions

The app says it backs up, and backup can be turned off

Status: accepted · Implementation: done · Date: 2026-11-18

From LibreLifts ADR 0035. Deleting the server's copy comes with the privacy work, so the notice does not promise it. Built 2026-11-18. The notice also says what LibreLifts does not: that the copy can only be reached from the install that made it, until there is an account to sign in to. Seen on the iOS simulator and in Chromium: no sync request before the notice is answered, none while backup is off, and what was missed sent when it is turned on again.

Context

Backup is automatic (0016, 0019). A person's log leaving their phone without their knowing is not acceptable, however good the reason.

Decision

  • The first time the app opens, it shows one screen before anything else that says the log is saved on the phone and copied to LibreBars' server. It has two buttons: carry on, or turn backup off.
  • None of the person's data is sent until that screen has been answered. A guest account may already have been asked for; it holds nothing.
  • Backup can be turned off and on again at any time, in the app's settings. While it is off the app sends no data and asks for none, and keeps noting changes in its outbox. Turned on again, it sends what it missed.
  • Whether backup is on is kept on the device and is not synced. It is a choice about this device.
  • The screen promises only what exists. It says backup can be turned off. It does not say the copy can be deleted until it can.

Consequences

  • Someone who never wants their log to leave the phone can say so before a single row is sent.
  • Turning backup off does not remove what was already sent. Until deletion exists, the app says so where the switch is.
  • The outbox grows while backup is off, which is what makes turning it on again work.
  • The notice appears only once sync is built. Before that the app sends nothing and has nothing to announce.

LibreBars

Clone this wiki locally