I have a document in my local database that I want to be able to update locally but ultimately ensure that it is in sync with whatever is on the server. I.e., I want to set up a pull-only replication and ensure that the server version overrides whatever the current local version is.
My understanding that by default this won’t be the case because the revisionId on the local side will most likely be higher than the revisionId on the server side (as the local version will get updated more frequently).
I’ve read through this post a number of times (https://blog.couchbase.com/document-conflicts-couchbase-mobile/) It makes reference to a “conflict resolver” function but I can’t see any way to specify what that is using the latest version of the ObjC api.
Any advice would be appreciated.