PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 18
  1. 0.3.3 16 Nov 2024
    Release notes
    • Moves all the JavaScript types to extend JSObject.
    Open source →
  2. 0.3.3+1 22 Apr 2025
    Release notes
    • Handles potential exceptions gracefully while fetching Moment*Reason for invalid value.
    Open source →
  3. 0.3.2 14 Nov 2024
    Release notes
    • Adds the nonce parameter to loadWebSdk.
    Open source →
  4. 0.3.1 20 Feb 2024
    Release notes
    • Updates web code to package web: ^0.5.0.
    • Updates SDK version to Dart ^3.3.0. Flutter ^3.19.0.
    Open source →
  5. 0.3.1+1 05 Mar 2024
    Release notes
    • Uses TrustedTypes from web: ^0.5.1.
    Open source →
  6. 0.3.1+2 24 Jul 2024
    Release notes
    • Adds support for web: ^1.0.0.
    • Updates SDK version to Dart ^3.4.0. Flutter ^3.22.0.
    Open source →
  7. 0.3.1+3 25 Jul 2024
    Release notes
    • Updates README.md to reflect modern index.html script tag placement.
    Open source →
  8. 0.3.1+4 01 Aug 2024
    Release notes
    • Restores support for Dart ^3.3.0.
    Open source →
  9. 0.3.1+5 07 Nov 2024
    Release notes
    • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
    • Cleans up documentation of callbacks in CodeClientConfig, TokenClientConfig, onGoogleLibraryLoad, and revoke to indicate they only accept Dart functions and not JS functions.
    Open source →
  10. 0.3.0 07 Dec 2023
    Release notes
    • Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
    • Migrates from package:js/dart:html to package:web so 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 allowInterop in all callbacks.
      • id:
        • Changes type:
          • IdConfiguration.intermediate_iframe_close_callback to VoidFn?.
        • Adds: fedcm to CredentialSelectBy enum.
        • Fixes typo in storeCredential callback positional parameter name.
      • oauth2:
        • Removes:
          • CodeClientConfig.auto_select, hint (now login_hint), and hosted_domain (now hd).
          • TokenClientConfig.hint (now login_hint) and hosted_domain (now hd).
          • OverridableTokenClientConfig.hint (now login_hint).
        • Changes types:
          • CodeClientConfig.redirect_uri to Uri?.
          • scope in CodeClientConfig and CodeResponse to List<String>.
          • CodeResponse.code and state to String? (now nullable).
          • scope in TokenClientConfig, OverridableTokenClientConfig, and TokenResponse to List<String>.
          • The following TokenResponse getters are now nullable: access_token, expires_in, hd, prompt, token_type, and state.
          • The error_callback functions now receive a GoogleIdentityServicesError parameter, instead of Object.
        • Adds:
          • include_granted_scopes and enable_granular_consent to CodeClientConfig.
          • include_granted_scopes and enable_granular_consent to TokenClientConfig.
          • enable_granular_consent to OverridableTokenClientConfig.
          • message to GoogleIdentityServicesError.
        • Fixes:
          • Assert that scope is not empty when used to create CodeClientConfig, TokenClientConfig, and OverridableTokenClientConfig instances.
          • Deprecated enable_serial_consent.
    Open source →
  11. 0.3.0+1 08 Dec 2023
    Release notes
    • Corrects 0.3.0 changelog entry about the minimum Flutter/Dart dependencies.
    Open source →
  12. 0.3.0+2 13 Dec 2023
    Release notes
    • Adds fedcm_auto to CredentialSelectBy enum.
    • Adds unknown_reason to all Moment*Reason enums.
    Open source →
  13. 0.2.2 17 Oct 2023
    Release notes
    • Adds the following new fields to IdConfiguration:
      • login_hint, hd as auto-select hints for users with multiple accounts/domains.
      • use_fedcm_for_prompt so FedCM can be enabled.
    Open source →
  14. 0.2.1 31 Mar 2023
    Release notes
    • Relaxes the renderButton API so any JS-Interop Object can be its target.
    • Exposes the Button* configuration enums, so the rendered button can be configured.
    Open source →
  15. 0.2.1+1 29 Aug 2023
    Release notes
    • Adds pub topics to package metadata.
    • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
    Open source →
  16. 0.2.0 10 Jan 2023
    Release notes
    • Adds renderButton API to id.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.md with the new way of importing the desired libraries.
    Open source →
  17. 0.1.1 20 Oct 2022
    Release notes
    • Add optional scope to OverridableTokenClientConfig object.
    • Mark some callbacks as optional properly.
    Open source →
  18. 0.1.0 07 Oct 2022
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive