I've having trouble connecting to the realm server. I've read over the documentation, and don't really understand what's going on.
I'm getting an invalid URL error when I debug my app. I've tried lots of things.
Can someone explain what path is? I've tried:
I followed the guide and installed the server on digital ocean so everything has the default settings. I've created and account with my email and password.
Could someone please give me an example?
String serverURL = "realm://<my-ip>:9080~/default";
SyncCredentials myCredentials = SyncCredentials.usernamePassword("testUser", "simplePassword", true);
SyncUser user = SyncUser.login(myCredentials, serverURL);
SyncConfiguration config = new SyncConfiguration.Builder(user, serverURL)
// Use the config
Realm realm = Realm.getInstance(config);