I want to implement Checkout/Checkin for my mobile application. In that, if a user wants to edit a record, he first needs to checkout that record, edit it and then check it in. If a record is checked out by other device, he wont be able to edit it till other user check it in.
Could you please suggest an approach to implement it? Also please do explain how to do synchronization from couchbase lite to sync gateway in this case. Can we go with default SDK (iOS / Android) provided implementation replication somehow to make it work in a Checkout / Checkin scenario as described above?