in my app a Doc Contains:
Members Property : list of users who have access to that doc
in the sync gateway config File, i gave the access to the list of Members users to that doc, and the synchronisation between Couchbase.lite and couchbase using the sync_gateway is working properly for the users who have access to that doc.
the problem is that when i delete the userid from the members Property ( means that he have no access to that doc anymore ) , its not synchronized again but the doc still in the local Mobile db.
how to delete that doc from local db ?
Thank you for your time.