A Capacitor community plugin for native and Electron SQLite databases. Current stable version is 3.2.5-2, actively maintained with frequent releases. Supports Android, iOS, Electron, and Web platforms. Key differentiators: encrypted database support for mobile and desktop (not web), ZIP file import with overwrite, and mandatory initWebStore for web platform fix since v3.2.3-1. Requires manual wasm file copy for web. Electron requires additional sqlite3 and jszip dependencies. Tested with Ionic/Angular, React, Vue starters.
npm install fieldservice-sqlite-fatNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes SQLite connection, creates database, executes SQL, and cleans up. Shows web platform initWebStore.
Call await sqliteConnection.initWebStore() after jeep-sqlite element is defined.
Use 'no-encryption' or plaintext mode for Electron/Web.
Run npm install --save sqlite3 jszip --save-dev @types/sqlite3 inside electron/ folder.
Copy nodes_modules/sql.js/dist/sql-wasm.wasm to src/assets (Angular) or public/assets (Vue/React).
Update to latest version and add initWebStore call.
Ensure <jeep-sqlite> exists in index.html or dynamically create it.
Add initWebStore call as shown in the quickstart.
Install sql.js and copy sql-wasm.wasm to assets folder.
Use non-encrypted mode on those platforms.