Registering users via application


#1

Hello!

Is there any way to do user registration in my Android application (just as it’s done in the Realm Object Server)?

Thanks!


#2

If you use the password credentials, you can provide a 3rd parameter that indicates if the user should be created.

So

Credentials creds = Credentials.userPassword(user, pw, true);
SyncUser.loginAsync(creds, url, callback);