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 2025Releases
latest 9-
0.2.117 Sep 2025Release notes
Open source →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
-
0.2.013 Sep 2025Release notes
Open source →BREAKING CHANGES
- For Platform Implementers: New abstract methods that must be implemented
lightweightSignInImpl()- Platform-specific lightweight authentication implementationsignInOnlineImpl()- Platform-specific online authentication implementationsignInButtonImpl()- Platform-specific sign-in button implementationsignOutImpl()- Platform-specific sign-out implementation
- For End Users:
signInOffline()deprecated in favor oflightweightSignIn()lightweightSignInwill use official recommended method for signing-in previously signed-in user
Added
authenticationStatebroadcast stream - EmitsGoogleSignInCredentials?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
GoogleSignInCredentialsclass:- Added
expiresInfield for token expiration tracking - Made class
@immutablewith equality operators - Added
copyWith()method
- Added
- 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,retrieveAccessTokenanddeleteAccessTokenmethods.
Changed
signIn()now trieslightweightSignIn()first, falls back tosignInOnline(), for all platforms.- All authentication methods now automatically update authentication state
- Refactored to implementation pattern (
@nonVirtualpublic methods,@protectedimpl methods)
New Dependencies
- Added
googleapis: ^14.0.0 - Added
googleapis_auth: ^2.0.0
- For Platform Implementers: New abstract methods that must be implemented
-
0.1.007 Sep 2025Release notes
Open source →BREAKING CHANGES
- Earlier
signInwould only dosignInOfflinefor mobile, since, both were same, for mobile, though now, added explicit check to callsignInOnlinein case of null from offline method.
Enhancements
- Web Platform Support: Added comprehensive web platform support with Google Sign-In button integration
- GSIAPButtonConfig: Introduced new
GSIAPButtonConfigclass for configuring Google Sign-In buttons on web platforms - signInButton Method: Added
signInButton()method to the interface for web platform button rendering
- Earlier
-
0.0.625 Jan 2025Release notes
Open source →Added [GoogleSignInParams.customPostAuthPage] to allow custom page after successful sign in.
-
0.0.508 Feb 2024 -
0.0.408 Feb 2024Release notes
Open source →[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.
-
0.0.307 Feb 2024Release notes
Open source →Added new method called [signIn], which will first try [signInOffline] then [signInOnline].
-
0.0.207 Feb 2024Release notes
Open source →Updated default values of [GoogleSignInParams.scopes], removed drive scope.
-
0.0.102 Feb 2024Release notes
Open source →Provides mainly 3 classes, [GoogleSignInAllPlatformsInterface], [GoogleSignInParams] and [GoogleSignInCredentials].