A Capacitor plugin providing simple key-value storage backed by SQLite for iOS, Android, Electron, and Web.
Capacitor Data Storage SQLite is a plugin for Capacitor-based applications that provides a simple key-value storage system backed by SQLite. It solves the need for reliable, persistent local storage of string data across iOS, Android, Electron, and Web platforms, offering encryption and easy data management without complex SQL.
Developers building cross-platform mobile and desktop applications with Capacitor or Ionic who need a straightforward, persistent local storage solution for simple data like settings, cache, or user preferences.
It provides a unified, maintained API for key-value storage across all Capacitor platforms with native SQLite performance and encryption, avoiding the complexity of raw SQL while ensuring data reliability and easy migration via JSON.
Capacitor Plugin for Data Storage SQLite for IOS and Android
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a unified key-value API across iOS, Android, Electron, and Web, using SQLite on native platforms and IndexedDB for the web, ensuring reliable storage everywhere.
Offers optional database encryption for iOS and Android via SQLCipher, as noted in the features, securing sensitive string data on mobile devices.
Easy-to-use methods like set() and get() for string data, avoiding complex SQL queries, which aligns with the plugin's philosophy of straightforward storage.
Includes JSON import/export capabilities, facilitating easy backup and migration between app versions, as highlighted in the key features.
Supports organizing data across multiple tables within a store, allowing better data management for different app features without separate databases.
Only handles string data, requiring manual serialization for numbers, booleans, or objects, which adds complexity for diverse data types.
Encryption and methods like closeStore are unsupported on Electron and Web, as shown in the compatibility table, leading to inconsistent behavior across platforms.
Requires additional dependencies like localforage for Web and sqlite3 for Electron, increasing installation steps compared to built-in storage options.
Only the latest major version is actively maintained per the compatibility notes, forcing upgrades for Capacitor updates and risking abandonment for older versions.