Hello! I've set up the ANE correctly. The login works fine. the sign out works fine but when I try to open another time the app, I recive the isSignedIn() with a false response. Why? If the first time I log in correctly? So, if it's false, I show the Log In button again. I click the button, it logins but then it shows the SIGN_IN_ERROR. Any idea? The code is very simple:
Hello! I've set up the ANE correctly. The login works fine. the sign out works fine but when I try to open another time the app, I recive the isSignedIn() with a false response. Why? If the first time I log in correctly? So, if it's false, I show the Log In button again. I click the button, it logins but then it shows the SIGN_IN_ERROR. Any idea? The code is very simple:
this.checkeStatus();
this.checkeStatus();
function checkeStatus() {
if (!AirGooglePlayGames.getInstance().isSignedIn()) {
btn_out.visible = false;
button_login.visible = true;
enterButton.visible = false;
} else {
texto.text = "PLAYERID: " + AirGooglePlayGames.getInstance().getActivePlayerID();
enterButton.visible = true;
button_login.visible = false;
btn_out.visible = true;
}
}
button_login calls signIn(); and btn_out calls signOut();, all these functions works fine.