I have an application that work on internet access only and I want to impliment it to work also in offline. And when there is internet access should sychronize data to the server
Asked
Active
Viewed 59 times
0
-
Check out this answer... https://stackoverflow.com/questions/34486417/firebase-offline-capabilities-and-addlistenerforsinglevalueevent – Flutterian Nov 28 '17 at 07:08
-
Thanks.. is there a link for resources that I can read for more understanding – cshine Nov 28 '17 at 07:11
-
You can refer this code. https://github.com/puf/firebase-offlinequeries-android – Flutterian Nov 28 '17 at 07:13
2 Answers
1
Go through Priority Job Queue. While offline Store your API calls In Job Queue. And fire them When The internet is Available.

rashmi ranjan
- 380
- 1
- 4
- 14