I have no error when i add objects with (except the fact, that doesn’t display anything on my page) but when i reload my page, i see this in the js console : “An IndexedDB transaction that was not yet complete has been aborted due to page navigation”
The real problem is : I cannot display my item stored in my pouchDB collection. I use this plugin https://github.com/danielzen/ng-pouchdb.
When I launch the demo, my couchDB server works fine and the collection display works too.
But when I include the collection in a controller in my ionic app, the display doesn’t work and I don’t why
It’s getting seriously messy here … you was talking about couchDB when it was IndexedDB … and now you are introducing pouchDB? What are you exactly using in your app and what are you trying to achieve? A snippet of your code will be good as well.
I am coding a colaborative app.
I use pouchDB to synchronize data between all devices. I never used Ionic neither angular, so sorry if I don’t explain clearly the things.
Sorry didn’t looked yet at your code but using pouchDB for synchronizing data between all devices sounds really strange practice to me. Or are you just doing a simple database where any devices using your app can connect and fetch the data from?
This is what I asked, are you just doing a simple database where any devices using your app can connect and fetch the data from or are you talking about a real synchronization system within your devices (Like a push events)?
Well, if I only fetch data I’ll don’t use pouchdb…
I use pouchdb to get and put data to remote server and sync it with all the devices connected to this remote server