0

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

cshine
  • 27
  • 1
  • 10

2 Answers2

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
0

You have two solution :

  • You can create your own synchronisation service ( can be complexe )

  • You can use couchbase it's a nosql database with a "sync gateway" which allow you to easilly sync between device

Palisanka
  • 447
  • 4
  • 10