We use CouchbaseLite 2.0.3 in the .NET project. How shall we get the list of attachment names from a document which is not synced so far. If the document has been synced, I could use the following code to get the attachments list. Please advise how to fetch the attachment names if the document was created and added attachments when the user was offline all the time.
var document = database.GetDocument(id).ToMutable();
var attachments = document.GetDictionary("_attachments");