+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Supporting offline storage and synchronization

We can synchronize the data on a mobile device with a remote database instance. You can either pull updates from a remote database to the local database on the mobile device, or push local database updates to a remote database.


Before you begin

For more details, see CDTDatastore Replication documentation.

AndroidFor more details, see Cloudant® Sync Replication documentation. For CRUD operations on a remote store, see the Cloudant Replication API

Parent topic: Migrating apps storing mobile data in Cloudant with IMFData or Cloudant SDK


Run pull replication


Procedure

Run pull replication.

BEFORE (with IMFData/CloudantToolkit):

Android

AFTER (with Cloudant Sync):

Android


Run push replication


Procedure

Run push replication.

BEFORE (with IMFData/CloudantToolkit):

Android

AFTER (with Cloudant Sync):

Android