{"library":"cordova-plugin-dbcopy","type":"library","category":null,"description":"cordova-plugin-dbcopy is a Cordova/Phonegap plugin designed to copy a pre-populated SQLite database from the `www` directory of an application to the device's native app database directory. The current stable version is 2.1.2. This plugin addresses a common need for mobile applications that require initial data or a pre-configured database upon first launch, providing methods to copy the database, check its existence, and handle different storage locations, especially for iOS iCloud backup exclusion. Its release cadence appears to be stable rather than rapid, focusing on core functionality within the Cordova ecosystem. A key differentiator is its explicit handling of platform-specific database locations and error responses for common issues like file not found or already existing databases.","language":"javascript","status":"maintenance","version":"2.1.2","tags":["javascript","sqlite db copy","ecosystem:cordova","cordova-android","cordova-ios","db copy","cordova sqlite","database copy","sqlite database copy"],"last_verified":"Wed May 27","install":[{"cmd":"npm install cordova-plugin-dbcopy","imports":["document.addEventListener('deviceready', function() { console.log(window.plugins.sqlDB); });","window.plugins.sqlDB.copy(dbname, location, successCallback, errorCallback);","window.plugins.sqlDB.checkDbOnStorage(dbname, sourcePath, successCallback, errorCallback);"]},{"cmd":"yarn add cordova-plugin-dbcopy","imports":[]},{"cmd":"pnpm add cordova-plugin-dbcopy","imports":[]}],"homepage":null,"github":"https://github.com/an-rahulpandey/cordova-plugin-dbcopy","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/cordova-plugin-dbcopy","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/cordova-plugin-dbcopy/compatibility"}}