Go to file
Krzysztof kuhy Rudnicki f9794512b4 Enable Android Auto Backup of the notes DB and sync settings
OS-level safety net so a reinstall can restore data through Android's
backup/restore flow. Sets allowBackup=true and points fullBackupContent
(pre-31) and dataExtractionRules (API 31+) at empty rule sets, which back
up the default locations: the app files dir (local CRDT DB todo.db),
databases, and shared_prefs (GitHub sync settings + token).

Backing up shared_prefs is intentional — it restores the sync config on
reinstall so recovery needs no re-auth (zero-touch). The token is a
narrowly-scoped contents-only PAT for the single private sync repo, kept
in the user's own Google backup.

Caveats: Auto Backup is scheduled (~daily, Wi-Fi+charging) so very recent
changes may not be captured, and restore fires through the Play Store /
device-setup flow, not an `adb install -r`. Auto-sync remains the primary
durability path; this is the secondary net. Verified the attributes merge
into the app manifest via a debug build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 22:04:59 +02:00
android Enable Android Auto Backup of the notes DB and sync settings 2026-06-15 22:04:59 +02:00
docs Initial commit: offline-first CRDT notes app (capture + GitHub sync) 2026-06-14 14:20:19 +02:00
lib Auto-sync on launch and on app background 2026-06-15 22:02:39 +02:00
linux Add list filters/sort, status, priority rework, export/import, structured template 2026-06-15 16:52:59 +02:00
test Auto-sync on launch and on app background 2026-06-15 22:02:39 +02:00
tool Add list filters/sort, status, priority rework, export/import, structured template 2026-06-15 16:52:59 +02:00
.gitignore Add list filters/sort, status, priority rework, export/import, structured template 2026-06-15 16:52:59 +02:00
.metadata Initial commit: offline-first CRDT notes app (capture + GitHub sync) 2026-06-14 14:20:19 +02:00
analysis_options.yaml Initial commit: offline-first CRDT notes app (capture + GitHub sync) 2026-06-14 14:20:19 +02:00
CLAUDE.md Add CLAUDE.md with architecture, commands, git workflow, and testing patterns 2026-06-15 17:13:24 +02:00
LICENSE Add MIT license 2026-06-14 14:42:45 +02:00
pubspec.lock Add list filters/sort, status, priority rework, export/import, structured template 2026-06-15 16:52:59 +02:00
pubspec.yaml Add list filters/sort, status, priority rework, export/import, structured template 2026-06-15 16:52:59 +02:00
README.md Initial commit: offline-first CRDT notes app (capture + GitHub sync) 2026-06-14 14:20:19 +02:00

todo

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.