mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 17:47:24 +01:00
Android AccountManager ID token for Firebase signInWithIdp, extracted from todo so the sync apps stop copying the Kotlin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWY1k4muZfdVJfb7YGJ
28 lines
644 B
YAML
28 lines
644 B
YAML
name: google_account_token
|
|
description: >-
|
|
Android one-tap Google ID token via AccountManager: the system account
|
|
chooser, then an `audience:server:client_id:` token for Firebase
|
|
signInWithIdp. No browser, no Google client library. Other platforms
|
|
return null so callers fall back to their password path.
|
|
publish_to: 'none'
|
|
version: 0.1.0
|
|
|
|
environment:
|
|
sdk: ^3.12.2
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
very_good_analysis: ^11.0.0
|
|
|
|
flutter:
|
|
plugin:
|
|
platforms:
|
|
android:
|
|
package: dev.kuhy.google_account_token
|
|
pluginClass: GoogleAccountTokenPlugin
|