Key-Value Storage Made Simple with the SQLite Plugin
Storing simple key-value data in Ionic and Capacitor apps often means choosing between unreliable browser storage or writing boilerplate SQL. The SQLite plugin now includes SqliteKeyValueStore — a built-in class that gives you a familiar get/set API backed by a real SQLite database. No SQL queries, no schema setup, no risk of data loss from WebView storage clearing. In this guide, you'll learn how to use SqliteKeyValueStore in your Capacitor apps and when to choose it over the Secure Preferences plugin.