mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-07-04 11:43:10 +02:00
Manual sync left a large window in which local edits had not reached the remote, and a reinstalled device only recovered after a manual sync. Make sync automatic so the GitHub repo (the durable store) stays near-current and recovery is near-automatic. - Pull on launch (once settings load) so a reinstalled device pulls its old changeset back without user action. - Push when the app is backgrounded (AppLifecycleState.paused) so edits leave the device promptly. Lifecycle-based, not per-keystroke, to keep CPU/battery and GitHub API usage low. - Best-effort: silent, skips when unconfigured, single-flight guard so a launch sync and a background sync never overlap; failures are swallowed (the manual Sync button still surfaces errors). 100% line coverage maintained. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| android | ||
| docs | ||
| lib | ||
| linux | ||
| test | ||
| tool | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| CLAUDE.md | ||
| LICENSE | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
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.