Cordova SQLite Ext (v7.0.0) provides a native SQLite interface for Cordova/PhoneGap apps with extra features like BASE64, REGEXP, and pre-populated databases. It supports Android, iOS, macOS, and Windows 10 (UWP). Based on the HTML5 Web SQL API, it addresses the multiple SQLite corruption issue and has breaking changes in upcoming major releases. Compared to the core cordova-sqlite-storage plugin, this version adds REGEXP and BASE64 support. The plugin uses a before_plugin_install hook to fetch dependencies from npm. MIT licensed with Apache 2.0 option on Android/Windows. Not heavily maintained; consider alternatives for new projects.
npm install cordova-sqlite-extNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic database creation, table creation, insert, and select inside a transaction using the plugin API after device ready.
Use latest version and consider androidDatabaseProvider: 'system' on Android to reduce risk.
Do not rely on error.code for logic; parse error.message instead.
Replace location:0 with location:'default' or iosDatabaseLocation:'default'.
Omit androidLockWorkaround unless necessary; prefer androidDatabaseProvider: 'system'.
Wait for deviceready event and verify plugin installation with cordova plugin list.
Ensure all SQLite calls are inside deviceready callback.
Manually run npm install cordova-sqlite-ext-deps in the plugin directory or use --nofetch.