Login to Realm Server on Android -


i'm pretty new android , jump straight it. question realm try login realm object server , throw out unknown error, following realm task in demo app , it's working fine moving own app, stuck @ login step. set debug @ authenticateresponse result in syncuser , after failed login. below code.

public void login(string username, string password) {         synccredentials mycredentials = synccredentials.usernamepassword(username, password, false);         syncuser.loginasync(mycredentials, realmip, this);  } 

i implemented onsuccess , onerror function. app on ios , mac works fine without trouble first time in android , don't know made mistake. have searched around seems there no answers. sorry if asked stupid question or answered question.


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -