Pouch db use for storing offline data in cordova sapui5 hybrid app

Hi All,

I am trying to develop a cordova based sapui5 hybrid application that works on mobile devices. I am using pouchdb as the offline storage and then when the device is online the data is transfered to sap backend using oData. 

The problem is that the pouch db command  like—


Here “db” is the name of the pouchdb database. 

The doc_count works perfectly on the standard window but does not work on mobile devices.

similarly the response of other commands for pouch db has also different effects on desktop and mobile devces.

Please guide me through the effective and accurate use of pouchdb for mobile devices.

Thanks and Regards

Aman Anand 

Hi @aananda12345,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the  Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.