Skip to content
github-actions[bot] edited this page Dec 4, 2026 · 6 revisions

Sync

Sync keeps your devices in step (web browsers and Android phones) through storage you control:

Everything is end-to-end encrypted on your device before upload. The server only ever stores scrambled data and can't read your tasks.

Sync setup

Setting it up

Open Settings → Sync (or Sync in the menu).

  1. Where to sync:
    • WebDAV / Nextcloud: the folder address, e.g. https://cloud.example.com/remote.php/dav/files/<you>/FocusFlow, plus your username and an app password (Nextcloud: Settings → Security → Devices & sessions).
    • FocusFlow server: the server address and the account your server's administrator created for you.
  2. Your sync passphrase:
    • First device: Set up new sync. Choose a passphrase. FocusFlow shows a recovery key (XXXX-XXXX-…) once. Save it in a password manager or on paper.
    • Other devices: Join existing sync. Enter the passphrase, or use the recovery key. By default, the joining device replaces its own data with the synced data, which is right for a new device.

After that, FocusFlow syncs when it opens, a few seconds after you make changes, and every minute while it's open. Sync now is on the Sync screen.

Passphrase vs recovery key

  • The passphrase unlocks your synced data on a new device. It never leaves your devices, so nobody can reset it, including the server's administrator.
  • The recovery key is the backup way in. Use it if you forget the passphrase, then set a new one with Change passphrase.
  • If you lose both, the synced copy can't be read. Your devices still have their data, and you can set up a new sync from one of them.

Device names

Each device has a name (its phone model or browser to start with). Rename it on the Sync screen under This device's name. Once you use more than one device, an action's or project's details say where it was last changed: Changed on Pixel 8 · Today 9:41 AM.

Lost a device?

  • FocusFlow server: ask the administrator to run revoke-devices <your name>. That signs out every device, so sign the others back in.
  • WebDAV: revoke that device's app password in your WebDAV server's settings.

Your data stays encrypted with your passphrase either way.

How changes are combined

  • Each field (title, dates, flag, tags…) is merged separately, so editing the title on one phone and the due date on another keeps both.
  • If two devices change the same field, the later change wins. A tag list counts as one field.
  • A deletion wins over edits made elsewhere before the deletion was seen.
  • Old change files are combined into snapshots automatically, so the sync folder stays small.

Good to know

  • Erase all data, Import backup and Load sample data affect all your devices while sync is on. FocusFlow warns you first.
  • Web + WebDAV: a browser can only reach a WebDAV server that allows it (CORS). Nextcloud doesn't allow it by default. See the FAQ. The Android app and the FocusFlow server don't need this.
  • Away from your server (e.g. a server only on your home network): FocusFlow works as usual and Sync shows Offline. Changes are kept and sent the next time the app is open while the server is reachable. Android doesn't sync in the background, so open the app once when you're back.
  • FocusFlow server account: Sync → Account shows the devices signed in to your account (sign out any you no longer use) and changes the account password. That's the sign-in password, not the sync passphrase that encrypts your data.
  • Attachments sync too, encrypted: other devices download a file when you open it. See Attachments.
  • On Android, the sign-in details are kept in Android's secure storage. After restoring the app onto a new phone, join the sync again.

Technical details: docs/SYNC_DESIGN.md.

Clone this wiki locally