You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
It works fine only if Realm on ROS is defined as a subfolder, like /MyRealm/V1
// Create the configuration
SyncUser user = SyncUser.currentUser();
String url = "realms://myinstance.cloud.realm.io/~/userRealm";
SyncConfiguration config = user.createConfiguration(url).build();
// Open the remote Realm
Realm realm = Realm.getInstance(config);
// Any changes made to this Realm will be synced across all devices!
The text was updated successfully, but these errors were encountered:
Obsolete example.
SyncUser.currentUser()
is nowSyncUser.current()
But still, this example doesn't work. Use of
/~/
creates duplicate user ids, and defining your own Realm creates duplicate realms:/files/realm-object-server/7a86ce4741e0bbebb0434143f6256414/7a86ce4741e0bbebb0434143f6256414/
OR
/files/realm-object-server/7a86ce4741e0bbebb0434143f6256414/MyRealm/MyRealm
Seems like a bug in Android version of Realm.
It works fine only if Realm on ROS is defined as a subfolder, like
/MyRealm/V1
The text was updated successfully, but these errors were encountered: