Sharing couchbase lite database with an iOS extension

Is it safe to put the couchbase lite database into an App Group and access it from an extension? This means that multiple processes can be active on the database at the same time. It seems from what I have read that this is safe for core data. Is it safe for couchbase?

It should be fine. See for reference http://stackoverflow.com/questions/11058098/interprocess-sqlite-thread-safety-on-ios

Note that’s if you’re using SQLite as the underlying storage.

Thanks. It seems to be working well.

Does anyone know how to fix this issue:

Thank you!

This blog post should help: https://blog.couchbase.com/couchbase-lite-with-ios-app-extensions/