Start a new topic

Rollback

Is any automatic rollback on save available when android device network connection cuts?
1 Comment

The Android does have both offline mode and caching for appdata requests, which can function when the device is offline or has a poor connection.



Caching only works on retrieve (GET) requests, and will keep results in memory so that they can be quickly returned if a request is completed.



Offline will work with all requests, and utilizies sqlite to maintain a queue of requests made while offline. When a connection is restored, the library will spawn a service and perform a sync with your backend in the background.



Take a look at the caching/offline guide to get an idea: http://devcenter.kinvey.com/android/guides/caching-offline
Login or Signup to post a comment