Search code examples
couchbasecouchbase-litecouchbase-sync-gateway

Couchbase Sync Gateway - get previous revision of document?


I've got an android app using Couchbase lite as I need offline mode.

When I make multiple changes to a document on the device, the first sync'd document I get has a revision number greater than 1.

Is it possible to get previous revisions of that document?

David


Solution

  • While this was possible in some situations on 1.x, it is no longer possible as of 2.0.