PackageTrack
Sign in Get early access

google_sign_in_all_platforms_interface

A common platform.dart interface for the google_sign_in_all_platforms plugin.

0.2.1 6.2K downloads/mo #3562 most downloaded on pub.dev vishnuagbly/google_sign_in_all_platforms

What this package is like to depend on

Last release 11 months ago

17 Sep 2025

Release timing varies

gaps range from 1 weeks to 12 months

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

9 releases · first in 2024

3 releases in the last 12 months

see the full history below

Release timeline

9 releases · Feb 2024 to Sep 2025
2025 2026
Release Pre-release

Releases

latest 9
  1. 0.2.1 17 Sep 2025
    Release notes

    Added

    • Platform Implementers Migration guidelines in README with comprehensive implementation guidance
    • Detailed migration checklist for custom platform implementations
    • Code examples showing old vs new implementation patterns
    Open source →
  2. 0.2.0 13 Sep 2025
    Release notes

    BREAKING CHANGES

    • For Platform Implementers: New abstract methods that must be implemented
      • lightweightSignInImpl() - Platform-specific lightweight authentication implementation
      • signInOnlineImpl() - Platform-specific online authentication implementation
      • signInButtonImpl() - Platform-specific sign-in button implementation
      • signOutImpl() - Platform-specific sign-out implementation
    • For End Users: signInOffline() deprecated in favor of lightweightSignIn()
      • lightweightSignIn will use official recommended method for signing-in previously signed-in user

    Added

    • authenticationState broadcast stream - Emits GoogleSignInCredentials? on auth state changes (RECOMMENDED - for tracking auth state)
    • silentSignIn() method - Restores authentication from stored credentials. Though works on all platforms, NOT officially recommended for mobile and web.
    • Enhanced GoogleSignInCredentials class:
      • Added expiresIn field for token expiration tracking
      • Made class @immutable with equality operators
      • Added copyWith() method
    • Updated getAuthenticatedClient() implementation:
      • Automatic token validation via Google OAuth2 API
      • Token refresh when refresh tokens available
      • Auto sign-out on authentication failures
    • Automatic credential persistence to local storage, i.e will always automatically use saveAccessToken, retrieveAccessToken and deleteAccessToken methods.

    Changed

    • signIn() now tries lightweightSignIn() first, falls back to signInOnline(), for all platforms.
    • All authentication methods now automatically update authentication state
    • Refactored to implementation pattern (@nonVirtual public methods, @protected impl methods)

    New Dependencies

    • Added googleapis: ^14.0.0
    • Added googleapis_auth: ^2.0.0
    Open source →
  3. 0.1.0 07 Sep 2025
    Release notes

    BREAKING CHANGES

    • Earlier signIn would only do signInOffline for mobile, since, both were same, for mobile, though now, added explicit check to call signInOnline in case of null from offline method.

    Enhancements

    • Web Platform Support: Added comprehensive web platform support with Google Sign-In button integration
    • GSIAPButtonConfig: Introduced new GSIAPButtonConfig class for configuring Google Sign-In buttons on web platforms
    • signInButton Method: Added signInButton() method to the interface for web platform button rendering
    Open source →
  4. 0.0.6 25 Jan 2025
    Release notes

    Added [GoogleSignInParams.customPostAuthPage] to allow custom page after successful sign in.

    Open source →
  5. 0.0.5 08 Feb 2024
    Release notes

    Removed asserts from [GoogleSignInParams] and made it 'const' again.

    Open source →
  6. 0.0.4 08 Feb 2024
    Release notes

    [DON'T USE] Made the [GoogleSignInParams] non 'const', causing a breaking change. Exposed new global getters [isDesktop] and [isMobile]. Added asserts in [GoogleSignInParams] for different platforms.

    Open source →
  7. 0.0.3 07 Feb 2024
    Release notes

    Added new method called [signIn], which will first try [signInOffline] then [signInOnline].

    Open source →
  8. 0.0.2 07 Feb 2024
    Release notes

    Updated default values of [GoogleSignInParams.scopes], removed drive scope.

    Open source →
  9. 0.0.1 02 Feb 2024
    Release notes

    Provides mainly 3 classes, [GoogleSignInAllPlatformsInterface], [GoogleSignInParams] and [GoogleSignInCredentials].

    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