Syncing one couch base lite to other in one device

We have 2 couchbase lite databases in android. And we want to sync them with each other. Is it possible to do in 1.4.1?

If yes then please let us know any sample or way to do it.

There’s not a direct way to do it. The workaround is to start the Listener, then get the sync URL of one database, and create a replication between the other database and that URL.

1 Like

Thanks @jens as always you have been there to help. Let me try this.