PackageTrack
Sign in Get early access

flutter_keychain

Flutter secure storage via Keychain (iOS) and Keystore (Android). Supports optional iOS access groups and item labels.

3.0.1 18K downloads/mo #2310 most downloaded on pub.dev jeroentrappers/flutter_keychain

What this package is like to depend on

Last release 4 months ago

30 Mar 2026

Release timing varies

gaps range from 2 weeks to 2.1 years

Most releases are documented

notes for 14 of 18 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

18 releases · first in 2018

2 releases in the last 12 months

see the full history below

Release timeline

18 releases · Sep 2018 to Mar 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 3.0.1 30 Mar 2026
    Release notes
    • Update public API documentation comments for pub.dev scoring.
    Open source →
  2. 3.0.0 30 Mar 2026
    Release notes

    Breaking changes

    • Android: minSdk raised from 16 to 18 (API 18 is the true minimum for AndroidKeyStore).
    • Android: V1 plugin embedding (registerWith(Registrar)) removed.
    • iOS: deployment target raised from 8.0 to 12.0.

    Bug fixes

    • Android: fix ANR caused by crypto initialisation blocking the main thread. All KeyStore and AES operations now run on Dispatchers.IO (fixes #57).
    • Android: method calls that arrive before async init completes are queued and replayed once the crypto engine is ready.
    • Android: get now returns null instead of throwing on BadPaddingException / InvalidKeyException, preventing crashes after key rotation or data corruption (fixes #37).
    • iOS: fix CFDataRef memory leak in get: when SecItemCopyMatching returns a non-NULL reference on error.

    New features

    • Dart: new FlutterKeychain.configure({accessGroup, label}) method.
    • iOS: accessGroup sets kSecAttrAccessGroup for shared keychain access between apps in the same App Group (fixes #48).
    • iOS: label sets kSecAttrLabel so items appear in iOS Passwords (Settings → Passwords) (fixes #43).
    • iOS: Swift Package Manager support added via ios/flutter_keychain/Package.swift (fixes #58). CocoaPods remains supported during the transition period.

    Build / toolchain updates

    • Android: AGP 7.1.2 → 8.3.2; namespace declaration is now unconditional (fixes #46, #41).
    • Android: Kotlin 1.6.10 → 1.9.25.
    • Android: compileSdk / targetSdk 31 → 35.
    • Android: kotlinx-coroutines-android 1.7.3 added as a dependency.
    Open source →
  3. 2.5.0 24 Jun 2024

    Nothing published for this version

  4. 2.4.0 01 Oct 2023

    Nothing published for this version

  5. 2.3.0 31 Aug 2023
    Release notes
    • Update dependencies, gradle
    Open source →
  6. 2.2.1 28 Jul 2022
    Release notes
    • Update android deps
    • Clean up
    Open source →
  7. 2.1.0 01 Oct 2021
    Release notes
    • Android embedding thanks https://github.com/StanleyCocos for the PR!
    Open source →
  8. 2.0.1 01 Jun 2021
    Release notes
    • fix Nullability issue in the Kotlin code thanks https://github.com/wbusey0 for the PR.
    Open source →
  9. 2.0.0 12 Apr 2021
    Release notes
    • Migrate to null-safety
    • Minimum Dart SDK 2.12.0 thanks https://github.com/wbusey0 for the PR.
    Open source →
  10. 1.0.0 05 Mar 2019
    Release notes
    • Bump kotlin, gradle and android version to support AndroidX.
    Open source →
  11. 0.0.8 09 Nov 2018
    Release notes
    • Fix small issue with Kotlin String? type
    Open source →
  12. 0.0.7 22 Oct 2018
    Release notes
    • Bump kotlin version to 1.2.51
    Open source →
  13. 0.0.6 09 Oct 2018
    Release notes
    • Added commit to delete and clear for android.
    • Updated xcode example project, because of duplicate framework (new version of flutter)
    Open source →
  14. 0.0.5 16 Sep 2018

    Nothing published for this version

  15. 0.0.4 16 Sep 2018

    Nothing published for this version

  16. 0.0.3 16 Sep 2018
    Release notes
    • Bugfixes and hardening of the code
    Open source →
  17. 0.0.2 12 Sep 2018
    Release notes
    • Added iOS support (Objective-C for now)
    Open source →
  18. 0.0.1 04 Sep 2018
    Release notes
    • Intial release with only Android support. iOS support due to follow.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive