errorCode value don't exist on LOGIN_ERROR event
errorCode value don't exist on LOGIN_ERROR event
I's used customize login. In the Java client, i can get the value of errorCode from LOGIN_ERROR event, but i can't do that in the iOS client. Why is there this difference?
Re: errorCode value don't exist on LOGIN_ERROR event
Can you show me the Java code you use for handling errors?
Thanks
Thanks
Re: errorCode value don't exist on LOGIN_ERROR event
Code: Select all
private void onErrorLogin(BaseEvent event) {
int error = Integer.valueOf(event.getArguments().get("errorCode").toString());
if (error == 2) {
// do something
} else if (error == 3) {
// do something
} .....
}
Re: errorCode value don't exist on LOGIN_ERROR event
I see what you mean.
I have added a note to our "todo list" for the next release.
Should take a week or two before we release it.
Thanks.
I have added a note to our "todo list" for the next release.
Should take a week or two before we release it.
Thanks.
Re: errorCode value don't exist on LOGIN_ERROR event
A new update has been released:
viewtopic.php?f=21&t=17216
viewtopic.php?f=21&t=17216
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 22 guests