mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 20:07:02 +01:00
System account chooser plus getAuthToken with an audience:server:client_id token; no Google client library. Pins bumped to newest stable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWY1k4muZfdVJfb7YGJ
11 lines
370 B
Dart
11 lines
370 B
Dart
/// Whether the programmatic Google sign-in flow exists on this platform.
|
|
///
|
|
/// The io half: Android has the AccountManager 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;
|