Closed lucapale closed 6 years ago
This was a PouchDB Issue 7054 and is solved with PouchDB 6.4.3. So you can close this issue.
I confirm, https://github.com/pouchdb-community/pouchdb-adapter-cordova-sqlite/pull/79 still need to be applied
Same here, I confirm you need to update pouchdb-core to the latest version available (6.4.3 at the moment)
Issue
I am using PouchDB in a Ionic app. With PouchDB 6.3.4 I was using the SQLite adapter for iOS. After upgrading to 6.4.2 I get this error and the db does not work:
Error in Success callbackId: SQLitePlugin1932871848 : TypeError: winningRev is not a function. (In 'winningRev(docInfo.metadata)', 'winningRev' is undefined)
Info
Reproduce
Use pouchdb-adapter-cordova-sqlite in iOS app with 6.4.2.