Registry / database / cordova-sqlite-ext-deps

cordova-sqlite-ext-deps

JSON →
library5.0.0jsnpmunverified

Cordova sqlite ext dependencies is a distribution package (v5.0.0) that bundles SQLite 3.40.0 amalgamation and precompiled JAR libraries for Android, plus source files for iOS/macOS/Windows used by the cordova-sqlite-ext plugin. It includes extensions: FTS3-5, RTREE, JSON1, REGEXP (via sqlite3-regexp-cached), base64 encoding, and libb64-core. Designed specifically for cordova-sqlite-ext builds, it provides a minimal, public-domain dependency set with custom compile flags (e.g., THREADSAFE=1, OMIT_LOAD_EXTENSION). No separate npm release cadence; version matches SQLite and library updates.

npm install cordova-sqlite-ext-deps
INSTALL
IMPORT
SIG · CORDOVA-SQLITE-EXT
C
cordova-sqlite-ext-deps
databasejavascriptv5.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cordova-sqlite-ext-deps
// Not imported directly; used as a dependency for cordova-sqlite-ext // The package provides native source and binaries via cordova plugin platform hooks.
This package is not a JS module; it is a dependency of cordova-sqlite-ext and is consumed during Cordova plugin installation.

Illustrates how this package is indirectly used via cordova-sqlite-ext plugin, not imported directly.

// This package is not meant for direct use. Instead, install cordova-sqlite-ext: // cordova plugin add cordova-sqlite-ext // The plugin will automatically fetch cordova-sqlite-ext-deps as a dependency and copy the needed native files. // After adding the plugin, you can use window.sqlitePlugin in your app: var db = window.sqlitePlugin.openDatabase({name: 'test.db', location: 'default'}); db.executeSql('SELECT 1', [], function (result) { console.log(result); });
Debug
Known issues
gotchaThis package is NOT a JavaScript module; it contains native source and binaries for Cordova plugin build. Do not attempt to import or require it.
fix
Use cordova-sqlite-ext directly as a Cordova plugin instead.
affects: >=0.0.0
breakingAndroid JARs are built with minimum API level 24 (Android 7.0). Apps targeting lower API levels must upgrade or use alternative SQLite plugins.
fix
Set minSdkVersion to 24 or higher in config.xml or build.gradle.
affects: >=5.0.0
breakingSQLite compile flags remove LOAD_EXTENSION and DEPRECATED features. Some SQLite functions may be unavailable.
fix
Check for missing functions; recompile with desired flags if needed.
affects: >=5.0.0
deprecatedThis package is intended for cordova-sqlite-ext; consider using cordova-sqlite-storage or @awesome-cordova-plugins/sqlite for more active maintenance.
fix
Migrate to a more actively maintained plugin if needed.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'cordova-sqlite-ext-deps'
Attempting to require() or import this package as a Node module.
fix
This package is not a JS module; install cordova-sqlite-ext plugin instead.
java.lang.UnsatisfiedLinkError: Native method not found
Missing or incompatible native library for Android architecture (e.g., x86, arm64).
fix
Ensure your build includes all required ABIs; check plugin installation logs.
FAILURE: Build failed with an exception. * What went wrong: Could not resolve all files for configuration ':app:debugCompileClasspath'.
Older Android Gradle Plugin version incompatible with minSdk 24 or JAR structure.
fix
Update Android Gradle Plugin to at least 3.6.0 and ensure minSdk 24.
Upgrade
Version history
5.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
OpenAI (training)
1
Resources
cordova-sqlite-ext-deps — npm install cordova-sqlite-ext-deps · libregistry