搜索插件、代码仓与 APP 分类

GitHub 代码仓Djsmk123/flutter_credential_manager_compose

flutter_credential_manager_compose

Android 上的 Jetpack 凭据管理器和 iOS 上的 Keychain 用于无痛登录的 Flutter 插件

flutter_credential_manager_compose 项目封面
星标
19
复刻
16
最近推送(UTC)
2026年9月13日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Credential Manager

Android iOS Web

Credential Manager is a Jetpack API that supports multiple sign-in methods, such as username and password, passkeys, and federated sign-in solutions (like Sign-in with Google) in a single API, simplifying integration for developers on Android. For iOS, it uses Keychain for storing credentials. On Web, it uses WebAuthn, the Credential Management API, and Google Identity Services (backed by FedCM).

For users, Credential Manager unifies the sign-in interface across authentication methods, making it clearer and easier to sign into apps, regardless of the chosen method.

For iOS, it uses Keychain and Autofill. On Web, see credential_manager_web for setup, including the required <script> tag in web/index.html.

For more information, please refer to the official documentation.

Getting Started

Add the dependency to your pubspec.yaml file:

credential_manager: <latest_version>

Or run:

flutter pub add credential_manager

Documentation

For comprehensive guides and detailed documentation, please visit our Documentation Page. Here you will find everything you need to get started, including API references, usage examples, and best practices for integrating Credential Manager into your application.

Credential Flow Previews

Android Credential Manager iOS Passkey Sheet
Credential Manager UI Apple Passkey UI

Heads-up: The screenshots above come directly from the official Android and Apple design resources. The bundled example application recreates similar flows but may look slightly different depending on your theme, device, or customizations.

Development Workflow

We rely on pre-commit to guarantee formatting and analyzer checks run before every commit.

pip3 install --user pre-commit   # first time only
python3 -m pre_commit install    # installs the git hook
# (optional) run on the entire repo once
python3 -m pre_commit run --all-files

The configured hooks will:

  • Format every staged Dart file using dart format.
  • Format docSite sources with Prettier.
  • Run flutter analyze across all packages (including the example app); commits are blocked if any analyzer error occurs.

Support the Project

If you find this library useful and would like to support its development, consider buying me a coffee:

☕ Buy Me a Coffee

Looking for Maintainers

We are looking for maintainers to help us keep this library up-to-date and implement new features. If you are interested in contributing, please reach out via GitHub or open an issue. Your help would be greatly appreciated!

Contributors

Thanks to all the contributors who have helped make this library better!

Contributors

MD Mobin GitHub avatar
GitHub 作者

MD Mobin ↗

Experienced Flutter Developer adept in all stages of advanced Flutter development.

Delhi,India官方网站 ↗
语言TypeScriptDartKotlinSwiftJavaScriptShellCSSHTMLRubyMakefileJavaObjective-C

分类

此仓库发布的插件

使用的依赖

依赖清单 1 项

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗