credential_manager_web 2.2.0
credential_manager_web: ^2.2.0 copied to clipboard
Web implementation of the credential_manager plugin using Web Authentication API (WebAuthn) and Credential Management API.
2.2.0 #
- Bumped
credential_manager_platform_interfaceto^3.0.0(required — the previously-declared^2.0.8resolves to a published version that predates thenonceparameter this package'ssaveGoogleCredentialoverride already relies on) - Fixed
getPasswordCredentialsrequesting a WebAuthn assertion (publicKeyoptions) instead of a stored password credential (password: true) — it could never succeed at its stated purpose cancelCurrentAuthenticatorOperationnow cancels an in-flight Google Identity Services flow too (previously a no-op for anything but WebAuthn, leaving a pendingsaveGoogleCredentialunresolved)- Added a defensive 30s timeout to the passive Google One Tap prompt path, since FedCM can leave the request pending indefinitely without a display/skip notification
- Renamed the internal
_googleClientIdparameter on the JSinitializemethod togoogleClientId(was misleadingly underscore-prefixed despite being used) and clarified its documentation - Raised the minimum
flutterSDK constraint to3.24.0(first release paired with Dart 3.5, matching this package's existingsdk: '>=3.5.0'constraint)
2.1.0 #
- Fixed the
<script>tag path documented in the README, Google Sign-In setup guide, and example app'sweb/index.html:flutter build webplaces pluginweb/assets underassets/packages/<pkg>/..., not a top-levelpackages/<pkg>/...— the old path only happened to resolve underflutter run's dev server, and 404'd on real static deploys (e.g. Netlify) - No changes to the package's Dart/JS source or public API
2.0.7 #
- Initial release of Web implementation package
- Web-specific implementation using Web Authentication API (WebAuthn) and Credential Management API
- Supports password credentials, passkeys, and Google Sign-In