Dear gents,
For better understanding I will take as example the TaskApp that is in the tutorials.
I have small issues adding a Project to the Realm.
App flow :
- User Login
- Main view with all the projects.
- Adds a new project.
Here first thing I’m adding the project data to the memberOf array of userRealm file.
Second create an actual Project RealmObject that I need to add to Cloud. When I use the userRealm.write i get the following error :
I understand the meaning, as I’m trying to add an object with different partition than the one opened, but how can I add it to the global realm (other than using backend functions, as the there is a lot of variables to input to that function)?
What I’m I doing wrong ?