How to build a list of replicated documents

The channel metadata isn’t replicated to Couchbase Lite databases. However there is a change listener API on the database object and one of the properties of the change event is isExternal() (if it returns true, it means that the document was added to the local database as the result of a replication). So you could build up a list of documents in the same order as they were replicated by using that API.

James