google_identity_services_web
A Dart JS-interop layer for Google Identity Services. Google's new sign-in SDK for Web that supports multiple types of credentials.
0.3.3
101K downloads/mo
#1126 most downloaded on pub.dev
flutter/packages
What this package is like to depend on
Last release 1 years ago
22 Apr 2025
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 18 of 18 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
18 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · Oct 2022 to Apr 2025
2023
2024
2025
2026
Releases
latest 18-
0.3.316 Nov 2024 -
0.3.3+122 Apr 2025Release notes
Open source →- Handles potential exceptions gracefully while fetching
Moment*Reasonfor invalid value.
- Handles potential exceptions gracefully while fetching
-
0.3.214 Nov 2024 -
0.3.120 Feb 2024Release notes
Open source →- Updates web code to package
web: ^0.5.0. - Updates SDK version to Dart
^3.3.0. Flutter^3.19.0.
- Updates web code to package
-
0.3.1+105 Mar 2024 -
0.3.1+224 Jul 2024Release notes
Open source →- Adds support for
web: ^1.0.0. - Updates SDK version to Dart
^3.4.0. Flutter^3.22.0.
- Adds support for
-
0.3.1+325 Jul 2024 -
0.3.1+401 Aug 2024 -
0.3.1+507 Nov 2024Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
- Cleans up documentation of callbacks in
CodeClientConfig,TokenClientConfig,onGoogleLibraryLoad, andrevoketo indicate they only accept Dart functions and not JS functions.
-
0.3.007 Dec 2023Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
- Migrates from
package:js/dart:htmltopackage:webso this package can compile to WASM. - Performs the following breaking API changes (in bold) and other fixes to
align with the published GIS SDK:
- Removes the need to explicitly
allowInteropin all callbacks. id:- Changes type:
IdConfiguration.intermediate_iframe_close_callbacktoVoidFn?.
- Adds:
fedcmtoCredentialSelectByenum. - Fixes typo in
storeCredentialcallbackpositional parameter name.
- Changes type:
oauth2:- Removes:
CodeClientConfig.auto_select,hint(nowlogin_hint), andhosted_domain(nowhd).TokenClientConfig.hint(nowlogin_hint) andhosted_domain(nowhd).OverridableTokenClientConfig.hint(nowlogin_hint).
- Changes types:
CodeClientConfig.redirect_uritoUri?.scopeinCodeClientConfigandCodeResponsetoList<String>.CodeResponse.codeandstatetoString?(now nullable).scopeinTokenClientConfig,OverridableTokenClientConfig, andTokenResponsetoList<String>.- The following
TokenResponsegetters are now nullable:access_token,expires_in,hd,prompt,token_type, andstate. - The
error_callbackfunctions now receive aGoogleIdentityServicesErrorparameter, instead ofObject.
- Adds:
include_granted_scopesandenable_granular_consenttoCodeClientConfig.include_granted_scopesandenable_granular_consenttoTokenClientConfig.enable_granular_consenttoOverridableTokenClientConfig.messagetoGoogleIdentityServicesError.
- Fixes:
- Assert that
scopeis not empty when used to createCodeClientConfig,TokenClientConfig, andOverridableTokenClientConfiginstances. - Deprecated
enable_serial_consent.
- Assert that
- Removes:
- Removes the need to explicitly
-
0.3.0+108 Dec 2023Release notes
Open source →- Corrects 0.3.0 changelog entry about the minimum Flutter/Dart dependencies.
-
0.3.0+213 Dec 2023Release notes
Open source →- Adds
fedcm_autotoCredentialSelectByenum. - Adds
unknown_reasonto allMoment*Reasonenums.
- Adds
-
0.2.217 Oct 2023Release notes
Open source →- Adds the following new fields to
IdConfiguration:login_hint,hdas auto-select hints for users with multiple accounts/domains.use_fedcm_for_promptso FedCM can be enabled.
- Adds the following new fields to
-
0.2.131 Mar 2023Release notes
Open source →- Relaxes the
renderButtonAPI so any JS-Interop Object can be itstarget. - Exposes the
Button*configuration enums, so the rendered button can be configured.
- Relaxes the
-
0.2.1+129 Aug 2023Release notes
Open source →- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
-
0.2.010 Jan 2023Release notes
Open source →- Adds
renderButtonAPI toid.dart. - Breaking Change: Makes JS-interop API more
dart2wasm-friendly.- Removes external getters for function types
- Introduces an external getter for the whole libraries instead.
- Updates
README.mdwith the new way ofimporting the desired libraries.
- Adds
-
0.1.120 Oct 2022Release notes
Open source →- Add optional
scopetoOverridableTokenClientConfigobject. - Mark some callbacks as optional properly.
- Add optional
-
0.1.007 Oct 2022