A Capacitor community plugin providing native SQLite database support for Android, iOS, Electron, and web platforms. Version 1.0.8 targets Capacitor 3 and is actively maintained. It offers a unified API for creating connections, executing queries, and managing encrypted databases (Android/iOS only). Requires manual WASM file copy for web, and additional npm packages for Electron. Differentiators: full cross-platform support including Electron and browser, encrypted DB support on mobile, and imperative connection management.
npm install sqlite-fieldserviceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes SQLite connection across platforms, creates a table, and demonstrates mandatory initWebStore for web.
Call await sqlite.initWebStore() after the jeep-sqlite element is defined for web apps.
Upgrade to >=3.2.3-1 and add initWebStore call.
Use non-encrypted database for Electron/Web or handle with conditional code.
If you rely on overwrite=false, pass it explicitly: copyFromAssets({overwrite: false}).Copy sql-wasm.wasm to src/assets (Angular) or public/assets (Vue/React).
Ensure await sqlite.createConnection(...) is called before using the connection.
Add await customElements.whenDefined('jeep-sqlite') before initWebStore.Navigate to electron/ and run: npm install --save sqlite3 jszip