how best to keep the local database synchronized with online data.
How to sync database. What would be the best solution to keep local date data as the remote data.
I have an online application where you need to update the local data.
It would be better to use local SQLite with ngcordova to update the data with Firebase.
Or would it be better to use local data to json file and update periodically update the file.
What would be the best solution.