A Capacitor plugin for secure key/value storage using iOS Keychain and Android Keystore.
capacitor-secure-storage is a Capacitor plugin that provides secure, encrypted key/value storage for mobile applications. It solves the problem of safely storing sensitive data like login credentials by leveraging iOS Keychain and Android Keystore, while supporting JSON data types and cross-platform usage.
Mobile developers building Capacitor 8 applications who need to securely store sensitive data such as authentication tokens, user credentials, or configuration settings.
Developers choose this plugin for its native platform security integration, flexible JSON data support, and seamless cross-platform compatibility, making it a reliable alternative to less secure storage methods.
Secure, flexible storage for Capacitor apps using iOS Keychain and Android Keystore.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages iOS Keychain and Android Keystore for industry-standard encryption, ensuring data is protected with platform-native security systems on mobile.
Enables synchronization of secure data across iOS devices via iCloud Keychain, with global and per-operation control, enhancing cross-device user experiences.
Stores any JSON-parseable data types, including strings, numbers, booleans, arrays, objects, and dates parsed from ISO 8601 strings, allowing versatile data handling.
Provides a uniform interface for secure storage operations on iOS, Android, and web, simplifying development for cross-platform Capacitor apps.
On the web, data is stored unencrypted in localStorage for debugging only, making it unsuitable and insecure for production use, as admitted in the README.
Running demos requires building the plugin first and using pnpm, adding unnecessary steps for quick testing compared to simpler, ready-to-use examples.
Data stored in iOS Keychain is not deleted when the app is uninstalled, which could lead to orphaned data and privacy concerns, though noted as not a security issue.
iCloud sync is iOS-only with no built-in synchronization for Android or web, restricting cross-platform data consistency and requiring manual solutions for other platforms.