The documentation seems to make no mention of what to do with a continuous Couchbase Lite replicator if the mobile app suspends/resumes. Will LiteCore/CBL deal with this internally – will it stop by itself, will it disconnect (cleanly) by itself? – or does the app need to make sure it stops the replicator on app suspend and restart the replicator on app resume? Or should a continuous replicator always be run as a background service, so it continues even if the app is not in the foreground?
I have been struggling with this so I was wondering what the recommended approach is for this.