credential_manager
5.1.0, released 2 months ago by smkwinner.live
Provides one-tap login, passkeys, and credential storage for Android, iOS, and Web.
What it does
The credential_manager plugin supports multiple sign-in methods like username and password, passkeys, and federated sign-in solutions such as Sign-in with Google through a single API. It stores credentials in the user's Google account on Android, the Keychain on iOS, and utilizes WebAuthn and Google Identity Services on Web.
AI-written summary of version 5.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to integrate passkeys and one-tap login across Android, iOS, and Web.
- You need a unified sign-in interface for passwords and federated authentication.
Skip it when
- You only need custom backend authentication without device-level credential stores.
- You are targeting platforms other than Android, iOS, and Web.
Strengths
- Unifies sign-in interfaces across multiple authentication methods and platforms.
- Supports passkeys, passwords, and Google Sign-In through a single API.
Weaknesses
- Requires platform-specific configuration and setup, particularly for Web (such as adding a script tag in web/index.html).
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 4
Add dependency to pubspec.yaml. Web setup requires specific configuration including a required <script> tag in web/index.html.
import 'package:credential_manager/credential_manager.h';
// Add the dependency to your pubspec.yaml:
// credential_manager: ^5.1.0Alternatives
Packages that do the same job and could replace credential_manager.
- passkeys
If you specifically need a dedicated passkey implementation library.
90Compare - google_sign_in
If you only need Google Sign-In functionality rather than a multi-method credential manager.
84Compare