I’m developing an iOS app using Realm Sync.
I have 2 questions on how to manage users using my app:
1 - My app will be used by multiple users which belong to different companies. Is there a way to put all the users of a company in a same group so they can share a common group id allowing them to access some share objects (which can be retrieved thanks to the partition key of the objects for example)?
2 - Is there a way to allow a user to be connected to only one device at a time? Meaning that if he has an active session on one device and wants to connect to another device, it will be automatically disconnected from the first one.
Thanks for your help!