A Cordova/PhoneGap plugin to open and use sqlite databases on Android/iOS/macOS/Windows with REGEXP (Android/macOS/iOS) and pre-populated databases (Android/iOS/macOS/Windows)
Hi,
I made an app downloading a database from an URL with cordova file transfer, then I use cordova-sqlite-ext to read the DB from iosDatabaseLocation: 'Documents' and display some informations.
It's working well.
But I need to update some DB from my server, so the user can "update" the DB by downloading a new one (with the same name).
But unfortunatly I can't read the new DB (I have an error code 0 while opening it).
Is there an issue with the same name DB ? They are not replaced by the new one ? Do I have to modify the DB name for each update ?
Hi, I made an app downloading a database from an URL with cordova file transfer, then I use cordova-sqlite-ext to read the DB from iosDatabaseLocation: 'Documents' and display some informations.
It's working well.
But I need to update some DB from my server, so the user can "update" the DB by downloading a new one (with the same name). But unfortunatly I can't read the new DB (I have an error code 0 while opening it).
Is there an issue with the same name DB ? They are not replaced by the new one ? Do I have to modify the DB name for each update ?
Thanks for your answer.