Having issues with PouchDB 5.3.0. I am getting following error in my Ionic app
Error: Database location or iosDatabaseLocation value is now mandatory in openDatabase call
The above error is because of below line of code:
> var websql = new PouchDB('websqlpouch', {adapter: 'websql'});
I am trying to use SQLite plugin in Ionic app.
The problem is already reported: https://github.com/pouchdb/pouchdb/issues/4979 You need to wait for a new version or use an older plugin version of sqlite-storage:
cordova plugin rm cordova-sqlite-storage
cordova plugin add [email protected]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With