Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1119

What is the proper way to monitor (and limit ?) the un-synced duration?

$
0
0

Hello,
In our CB setup, we have users having multiple devices that connect with the same SGW user. We use the offline feature to let users working… offline. But we need to prevent them to create some documents on devices which are outdated from sync pov.
Maybe a list of devices the user have to connect on his account and the date of the last sync for each of them.

Did you already implement such features ?
Do you poll on CBLReplicator_Status()
Do you use the CBLReplicatorChangeListener() ?
Or server side, in SyncGateway, did you already implement smth that could list devices/hostnames for a given SGW user and for each of those device the timestamp of the last complete sync ?

Thanks for your advises.

Pierre

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1119

Trending Articles