forui_firebase_ui_oauth_google 0.1.0
forui_firebase_ui_oauth_google: ^0.1.0 copied to clipboard
Firebase UI widgets for authentication & OAuth.
0.1.0 #
Note: This release has breaking changes.
-
FIX: bump FlutterFire dependencies & fix CI (#552). (0e6d85bf)
-
FIX: replace deprecated API and bump FlutterFire dependencies (#453). (530be48a)
-
FIX(ui_auth_google): bump google_sign_in version (#10531). (b9059c25)
-
FIX(ui_auth,ui_oauth_google): allow GoogleService-Info.plist based configuration (#10360). (c1bc63bb)
-
FIX(ui_oauth_google,android): fix an issue with Google Sign In where the clientId was passed on Android (#10017). (97c9fe8b)
-
FIX(ui_oauth_google): Pass the clientId into GoogleSignIn (#9823). (06b66ea2)
-
FEAT: upgrade all packages min SDK to Dart 3.5 (#616). (1535fac4)
-
FEAT: upgrade all packages min SDK to Dart 3.5 (#615). (aefa711a)
-
FEAT: update FlutterFire dependencies to the latest (#580). (acef6d3c)
-
FEAT: bump FlutterFire dependencies 2024-09-30 (#407). (d72ce8e3)
-
FEAT(ui_auth): use google_sign_in on macOS (#255). (72571a0d)
-
FEAT: update dependency constraints to
sdk: '>=2.18.0 <4.0.0'flutter: '>=3.3.0'(#10946). (9c2906d5) -
FEAT: update librairies to be compatible with Flutter 3.10.0 (#10944). (6a6b02b1)
-
FEAT(ui_shared): extract common widgets to a shared library (#10620). (79f76d3a)
-
FEAT(ui): add firebase_ui_auth and oauth providers (#9343). (2d2db74d)
-
DOCS(ui_auth): Fixed typo in firebase_ui_oauth packages for firebase_ui_auth package. (#9931). (9de6a764)
-
BREAKING FEAT(ui_oauth_google): migrate to google_sign_in 7 (#700). (7fd741c9)
- feat(ui_oauth_google)!: migrate to google_sign_in 7
Migrates GoogleProvider to the google_sign_in 7 API, which adopts the UIScene lifecycle on iOS (google_sign_in_ios 6.3.0) and Swift Package Manager (6.3.3). Fixes the deprecated application lifecycle warning tracked in #673.
- GoogleSignIn is now the shared instance and is initialized once before the first sign-in.
- Authentication and authorization are separate steps. The provider reuses an existing authorization for the requested scopes and prompts for consent when one is not available, so the credential still carries an access token when scopes are requested.
- A cancelled sign-in surfaces as AuthCancelledException, matching the previous flow reset behaviour.
- Adds an optional serverClientId parameter to GoogleProvider, GoogleSignInButton and GoogleSignInIconButton for Android apps that do not use google-services.json.
- Updates the integration test mocks to the new API.
integration steps: GIDClientID in Info.plist on iOS, and on Android a web OAuth client entry in google-services.json or an explicit serverClientId. When no scopes are requested the credential now contains only an ID token.
- refactor(ui_oauth_google): simplify init and isolate it in tests
Chain the retry-reset catchError directly onto initialize() instead of threading an intermediate local, and add a @visibleForTesting debugReset() that clears the static one-time-init future so each test starts from a clean state with its freshly injected mock.
Addresses review feedback on #689.
-
chore(ui_oauth_google): format provider.dart
-
fix(ui_oauth_google): preserve stack trace on init retry
Use Error.throwWithStackTrace in the initialize() catchError so a failed initialization keeps its original stack trace instead of resetting it with a bare throw.
-
BREAKING FEAT: bump FlutterFire dependencies & remove deprecated API (#529). (7650921e)
0.1.0 #
- Initial release of
forui_firebase_ui_oauth_google: Forui-compatible Google OAuth provider for the Firebase UI Forui port.