flutter_secure_storage 10.0.0-beta.1 copy "flutter_secure_storage: ^10.0.0-beta.1" to clipboard
flutter_secure_storage: ^10.0.0-beta.1 copied to clipboard

Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS, KeyStore based solution is used in Android.

flutter_secure_storage #

This is the platform-specific implementation of flutter_secure_storage for Android and iOS.

Features #

  • Secure storage using Keychain (iOS) and Encrypted Shared Preferences with Tink (Android).
  • Platform-specific options for encryption and accessibility.

Installation #

Add the dependency in your pubspec.yaml and run flutter pub get.

Configuration #

Android #

  1. Disable Google Drive backups to avoid key-related exceptions:

    • Add the required settings in your AndroidManifest.xml.
  2. Exclude shared preferences used by the plugin:

    • Follow the linked documentation for further details.

iOS #

  1. Set Keychain accessibility options:
    • Modify your Info.plist file with the necessary configurations.

Usage #

Refer to the main flutter_secure_storage README for common usage instructions.

License #

This project is licensed under the BSD 3 License. See the LICENSE file for details.

4.04k
likes
0
points
1.79M
downloads

Publisher

verified publishersteenbakker.dev

Weekly Downloads

Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS, KeyStore based solution is used in Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_secure_storage_linux, flutter_secure_storage_macos, flutter_secure_storage_platform_interface, flutter_secure_storage_web, flutter_secure_storage_windows, meta

More

Packages that depend on flutter_secure_storage