jeudi 21 juillet 2016

Access couchbase lite database directly from bundle?

I'm using Couchbase lite for my iOS app. I include the database in my app bundle and I don't have any replication. (I know it's a bit strange to use Couchbase without replication but that's the case)

The problem is that I can't find a way to access the database directly from the bundle since replaceDatabaseNamed will copy it to the document directory. As the database is huge I don't want to duplicate it on the users iPhone with one version in the bundle and one in the document directory.

Do you know a way not to copy the database and to access it directly from the app bundle ?

Aucun commentaire:

Enregistrer un commentaire