Hi,
first, thanks for making this great app42 and appwarp service.
I have a problem with login with app42 in unity. I got this code from tutorial:
public void login(string username,string password){
loginCallBack lc = new loginCallBack();
userService.Authenticate(username, password,lc);
}
public class loginCallBack : App42CallBack
{
public void OnSuccess(object response)
{
User user = (User) response;
App42Log.Console("userName is " + user.GetUserName());
App42Log.Console("sessionId is " + user.GetSessionId());
}
public void OnException(Exception e)
{
App42Log.Console("Exception : " + e);
}
}
But, it seems that the OnException is never called even if I give wrong password or I cut the connection.. how do I detect that user give a wrong password or connection not available? am I doing something wrong?
thanks
Wahyu