How to sync offline saved data with remote server automatically in ionic 2


#1

I am saving data using SQLite in offline mode. How do I sync offline saved data with server automatically.
I’m looking something similar like broadcast receiver in android. Is it possible in ionic 2?If yes How?


#2

You should try couchdb.
It comes with build in offline sync functionality


#3

Can you share code or any link for reference?


#4

https://www.joshmorony.com/?s=pouchdb