Hi Team,
I am using Couchbase Lite with Xamarin Android with very basic settings for Sync Gateway. Everything is working fine. Replicator is able to push data to Couchbase server both in offline and online mode.
However, if I make some changes in documents on server, that is not replicated by replicator back to Couchbase Lite hence leaving document in inconsistent state (original document on lite and modified on server).
I found from other forums that channels may be causing this issue. Since I am beginner and don’t have much experience in CB Lite so sharing my gateway configuration if that is fine or need some correction pertaining to this issue.
{
“interface”: “:4984”,
“databases”: {
“loan-app”: {
“server”: “http://10.82.46.28:8091”,
“bucket”: “testAppDB”,
“import_docs”: “continuous”,
“username”: “testuser”,
“password”: “password”,
“users”: {
“GUEST”: {“disabled”: false, “admin_channels”: [“*”] },
“testuser”: {“password”: “password”}
},
“num_index_replicas”: 0,
“enable_shared_bucket_access”: true
}
}
}
Thanks.