credential_manager_platform_interface 3.0.0
credential_manager_platform_interface: ^3.0.0 copied to clipboard
A common platform interface for the credential_manager plugin. This package allows platform-specific implementations of credential_manager to share the same interface.
3.0.0 #
- Breaking:
CredentialManagerPlatform.saveGoogleCredentialgains an optional named{String? nonce}parameter. This was actually added in a prior commit without a version bump — the package published as2.0.8on pub.dev predates this change and does not havenonce, which brokeflutter pub get/analysis for anyone resolvingcredential_manager_platform_interfacefrom pub.dev (this repo's own melos workspace masked it locally via path-based resolution). Publishing this as a new major version is a correction, not new API surface. - Any external
CredentialManagerPlatformimplementation overridingsaveGoogleCredential(bool useButtonFlow)without thenonceparameter will fail to compile against this version — add{String? nonce}to your override (Dart requires overrides to declare every named parameter of the overridden method, even optional ones). - No other functional changes; remaining diffs since
2.0.8are formatting-only (120-column reformat).
2.0.8 #
- Added
isGmsAvailableto platform interface - Handle
exception code 209for Google Play Services not available - on Android, Google account is not logged in, the plugin will launch Google Sign-In flow.
- Updated documentation
2.0.7 #
- Fixed plugin score issues
2.0.6 #
- Added exceptions and utilities to platform interface package
- Exported
CredentialExceptionand related exception classes - Exported utility classes:
CredentialType,PlatformExceptionHandler, andCredentialResponseParser - Improved modular architecture by centralizing shared code in platform interface
2.0.5 #
- Initial release of platform interface package
- Provides abstract
CredentialManagerPlatformclass - Supports modular plugin architecture