cshine
cshine

Reputation: 27

which is the best approach to implement app that work online and offline?

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

Upvotes: 0

Views: 66

Answers (2)

rashmi ranjan
rashmi ranjan

Reputation: 388

Go through Priority Job Queue. While offline Store your API calls In Job Queue. And fire them When The internet is Available.

Upvotes: 1

Bertrand
Bertrand

Reputation: 457

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

Upvotes: 0

Related Questions