My app uses PouchDB (and Ionic 1) to replicate it's data from a local DB to a server DB as soon as the network is available (through a live&retry replication).
I would like to display on the screen the number of changes waiting for replication (including 0 when everything has been replicated).
Is there some way to do that with PouchDB?
(If this is not feasible, a fallback solution would be to have a "dirty" flag, meaning that everything is replicated or not. Any idea for this?)
Thanks in advance!