mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 21:27:01 +01:00
Some checks are pending
release-apk / release (APK) (push) Waiting to run
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
11 lines
374 B
Dart
11 lines
374 B
Dart
/// Whether the programmatic Google sign-in flow exists on this platform.
|
|
///
|
|
/// The io half: Android has the Credential Manager flow; Linux desktop does
|
|
/// not, and this app's desktop build is the web one anyway.
|
|
library;
|
|
|
|
import 'dart:io';
|
|
|
|
/// True only on Android, the one platform shipping the programmatic flow.
|
|
bool get googleSignInSupported => Platform.isAndroid;
|