todo-app/lib/sync
Krzysztof kuhy Rudnicki d316563015
Some checks are pending
release-apk / release (APK) (push) Waiting to run
Fix desktop Firebase sync: seed a Google-derived session, not a dead password
The account's password grant is retired fleet-wide (see link_google.py /
seed_session.py in ~/utils/crdt-sync), so desktop's Firebase form could never
have connected regardless of provisioning. Desktop-as-web can't use the
in-browser Google Sign-In button either (google_platform_web.dart hard-codes
googleSignInSupported = false), so it needs the same session-seeding path the
Python daemons already use: seed_session.py now includes todo, and the
wrapper's new /sync-credentials route serves that seeded session to
loadAccount() once per launch, then closes for the rest of the process.

Also stops the status line reporting a bare "Synced" while running over the
GitHub mirror alone with Firebase disconnected -- SyncResult now carries
firebaseConnected so the UI can say "GitHub-only (Firebase not connected)".

Includes the prior session's Google Sign-In one-tap addition
(google_sign_in_backend.dart and friends), which this builds on.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FPsyKQRX8ZwJpUqg37jp83
2026-08-12 19:35:18 +02:00
..
backlog_export_io.dart Cut the llm-design-spec template from 12 sections to 7 2026-07-26 22:03:35 +02:00
backlog_export_web.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
backlog_export.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
desktop_wrapper.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
firebase_backend.dart Fix desktop Firebase sync: seed a Google-derived session, not a dead password 2026-08-12 19:35:18 +02:00
github_device_auth.dart Switch to very_good_analysis, matching the rest of the Flutter ecosystem 2026-07-20 11:05:13 +02:00
google_platform_io.dart Fix desktop Firebase sync: seed a Google-derived session, not a dead password 2026-08-12 19:35:18 +02:00
google_platform_web.dart Fix desktop Firebase sync: seed a Google-derived session, not a dead password 2026-08-12 19:35:18 +02:00
google_platform.dart Fix desktop Firebase sync: seed a Google-derived session, not a dead password 2026-08-12 19:35:18 +02:00
google_sign_in_backend.dart Fix desktop Firebase sync: seed a Google-derived session, not a dead password 2026-08-12 19:35:18 +02:00
local_backup_factory_io.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
local_backup_factory_web.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
local_backup_factory.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
local_backup.dart Switch to very_good_analysis, matching the rest of the Flutter ecosystem 2026-07-20 11:05:13 +02:00
notes_markdown.dart Switch to very_good_analysis, matching the rest of the Flutter ecosystem 2026-07-20 11:05:13 +02:00
run_sync.dart Fix desktop Firebase sync: seed a Google-derived session, not a dead password 2026-08-12 19:35:18 +02:00
sync_service.dart Fix desktop Firebase sync: seed a Google-derived session, not a dead password 2026-08-12 19:35:18 +02:00
sync_settings.dart Switch to very_good_analysis, matching the rest of the Flutter ecosystem 2026-07-20 11:05:13 +02:00
sync_state_factory_io.dart Sync through Firebase, mirroring to GitHub, and stop re-downloading peers 2026-08-04 23:36:24 +02:00
sync_state_factory_web.dart Sync through Firebase, mirroring to GitHub, and stop re-downloading peers 2026-08-04 23:36:24 +02:00
sync_state_factory.dart Sync through Firebase, mirroring to GitHub, and stop re-downloading peers 2026-08-04 23:36:24 +02:00