@vpease wrote:
I am using PouchDB, Cordova-SQlite-Storage plugin and Ionic 1.1.0 with no problem at all.
Working environment:
PouchDB: 5.0.0 (tested also with 5.1.0)
Cordova-SQLite-storage (0.7.14)
Ionic 1.1.0Once upgrading to Ionic 1.1.1 i started to notice errors like:
Error in Success callbackId: SQLitePlugin1872078595: TypeError: Cannot read property 'type' of undefined" source file:///android_asset/www/cordova.js (310)
Uncaught TypeError: Cannot read property 'type' of undefined source: file:///android_asset/www/cordova.js (312)
Tested environments with the Error
Env 01
PouchDB: 5.0.0 (tested also with 5.1.0)
Cordova-SQLite-storage (0.7.14)
Ionic 1.1.1Env 02
PouchDB: 5.0.0 (tested also with 5.1.0)
Cordova-SQLite-storage (0.7.14)
Ionic 1.2.1The user experience is that simple queries to the DB works fine but start to fail after a while. If you start with a heavy query, the error is generated almost inmediately.
Initially, i have started to think this was generated by PouchDB o sqlite plugin, but after changing only the ionic release i am thinking that there is something wrong with ionic and sqlite.
Testing without cordova-sqlite-storages generates no error.
Posts: 1
Participants: 1