Can I connect to a remote Realm without having to login?
In Swift, the only way to create a synchronizable Realm is through the syncConfiguration
property of a Realm.Configuration
. Is there a method for getting an anonymous User so that anyone can connect to the remote Realm?
No, you always need to be authenticated.
Yes, via
SyncCredentials.anonymous()
.This is now possible in Realm Cloud. Here's how I am doing it in Swift:
Good luck!