credential_manager_android 4.0.0
credential_manager_android: ^4.0.0 copied to clipboard
Android implementation of the credential_manager plugin using Jetpack Credential Manager API.
4.0.0 #
- Bumped
credential_manager_platform_interfaceto^4.0.0(required forprepareCredentialsandallowCredentials) getCredentialsnow applies thepreferImmediatelyAvailableCredentialsvalue supplied during initialization.- Added Android 14+ credential preparation: a new
prepareCredentialscall prefetches a matching credential request ahead of time. A matchinggetCredentialscall consumes the prepared handle and falls back to the normal request if the prefetched data can no longer be used. - Fixed compiling against
androidx.credentials1.6.0: apps that also depend ongoogle_sign_in(which pulls in 1.6.0) no longer crash withNoSuchMethodErrorwhen creating a passkey, since Gradle unifies the runtime classpath to the highest requested version. - No breaking changes to the public Dart API.
3.1.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) - Security fix: the unified
getCredentialsGoogle option no longer generates an internal, unverifiable nonce — it was never surfaced to the caller/backend for validation, so it provided no real replay protection. UsesaveGoogleCredential(nonce: ...)when nonce verification against your backend is needed.
3.0.1 #
- Added Detekt static analysis configuration and CI checks; fixed all reported violations (replaced a wildcard import with explicit imports, renamed a file to match its top-level class, wrapped long lines)
- No functional or API changes
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 #
- Removed plugin_platform_interface dependency
2.0.5 #
- Initial release of Android implementation package
- Android-specific implementation using Jetpack Credential Manager API
- Supports password credentials, passkeys, and Google Sign-In