my application is using PouchDB for data storage and synchronization.
This is working perfectly within the browser, however, it doesn’t on the device or simulator.
I get the error that PouchDB is not defined.
I have integrated it like this in my index.html:
I also tried to add the module “pouchdb” to angular.module(’…’, [‘ionic’, ‘pouchdb’, ‘…’]), but that doesn’t work either.
it’s just that I didn’t reference the pouchdb js file remotely but directly as a local js file.
However, I switched to a MBaaS and am not using Pouch anymore.