This package (v1.0.3) is a deprecated Cordova plugin that provides a native interface to SQLite for Android, iOS, Windows Universal (8.1), Amazon Fire-OS, and WP7/8. It offers an API similar to the HTML5 Web SQL API, with features like failure-safe nested transactions and batch processing. The plugin is no longer maintained: the README explicitly advises to use the litehelpers/Cordova-sqlite-storage plugin instead. Key differentiators at the time were drop-in replacement for HTML5 SQL API and cross-platform support. However, due to deprecation, it should not be used in new projects.
npm install cordova-plugin-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to open a database, create a table, insert and select data using the deprecated plugin.
Migrate to 'cordova-sqlite-storage' or 'cordova-plugin-sqlite-2' or 'cordova-sqlite-evcore-extbuild-free'.
Consider using a more stable plugin for Windows platforms, such as 'cordova-plugin-sqlite-2'.
Use Windows Universal platform instead or switch to a different plugin.
Stick to transaction and single-statement APIs for future compatibility if staying on this version.
Ensure plugin is added: cordova plugin add cordova-plugin-sqlite and wait for deviceready.
Provide an object with 'name' (string) and optionally 'location' (default, 'default', 'Library', 'Documents', etc. for iOS).