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
12 lines
510 B
Dart
12 lines
510 B
Dart
/// Platform gate for the programmatic Google sign-in flow.
|
|
///
|
|
/// Conditional export because the answer differs per platform *and* because
|
|
/// asking the plugin directly is unsafe: `supportsAuthenticate()` throws
|
|
/// `UnimplementedError` where no implementation is registered -- an `Error`,
|
|
/// not an `Exception`, so it escapes an ordinary catch and would take down
|
|
/// the settings screen's `build()`.
|
|
library;
|
|
|
|
export 'google_platform_io.dart'
|
|
if (dart.library.js_interop) 'google_platform_web.dart';
|