I’ve built two of the Xamarin based Couchbase mobile samples: CouchbaseSample.iOS and SimpleAndroidSync. I have both the Android app and the iOS app successfully talking to a Sync Gateway and a Couchbase Server on my OS X Yosemite Mac. I can see the items I enter into the lists in the apps get pushed through to the Couchbase Server, but nothing ever syncs. The apps don’t sync with each other, nor does adding an entry via the gateway REST API cause either app to pick up the new entry.
I’m running with the following configuration:
{
"log": ["CRUD+", "REST+", "Changes+", "Attach+"],
"databases": {
"sync_demo": {
"server":"http://localhost:8091",
"bucket":"sync_gateway",
"sync":`function(doc) {channel(doc.channels);}`,
"users": {"GUEST": {"disabled": false, "admin_channels": ["*"]}
}
}
}
}
Where do I look next to debug this?
Thanks,
Joe