I’m very new to mobile dev and couchbase. I’m moving my first steps with Xamarin Mobile Lite and trying to understand how to create an App that handles multiple clients. Each client will have it’s own set of documents/data but I would run a single couchbase instance.
So I’m wondering what is the best practise for doing this:
- Set filters on local database and replicator to filter by client id (here is a topic showing something similar I need Couchbase Lite to CouchDB Replication
- Create different buckets on couchbase server and somehow (I don’t know yet!) let gateway sync client data to the right bucket based on authentication or something
- Any other way?
Any help/suggestion is very appreciated,