What would be the best way to move objects between 2 distinct Realm instances ?
I tried to manually fetch all objects from one instance and then add them all in the other instance, but, I end up getting an error saying that the object is already managed by other realm.
Object is already managed by another Realm. Use create instead to copy it into this Realm.
I also tried to only declare the object type only in the instance that I want to move the object into, however, in that scenario, I can’t query the objects from the old realm because the object is not declared in there anymore…
Would appreciate some help!
Thanks in advance