You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How the location parameter works is documented in README.md. Please review the existing documentation very carefully, still needs to be clarified for the sake of newcomers (storesafe/cordova-sqlite-storage-help#33).
HI,
I have downloaded sqlite db file to location :cordova.file.dataDirectory+"Library/LocalDatabase" from my server, unzipped that file to same location. After that when i try to open db using
Hi, my new app use "cordova-plugin-file-transfer" and "cordova-plugin-file" to download a Sqlite db from a website.
I set "cordova.file.dataDirectory" like db destination's folder.
I use "cordova-sqlite-storage" to manage this db but how can I set in "location" param to open my downloaded db?
This app will run only on Android
Code example:
var uri = encodeURI("https://.....");
var fileURL=cordova.file.dataDirectory+'/confData.db';
fileTransfer.download(uri, fileURL, function(entry) {},function(error) {});
DBConf = window.sqlitePlugin.openDatabase({name: 'confData.db', location: ????? });
Thanks
The text was updated successfully, but these errors were encountered: