Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Play Services - Errors/Freezes when not logged on but accessed #44

Open
ArcadEd opened this issue Nov 2, 2014 · 2 comments
Open

Comments

@ArcadEd
Copy link

ArcadEd commented Nov 2, 2014

If you call the action to submit an achievement or post a score to a leaderboard, and Google Play Services isn't logged in, or you have no internet connect, the game will freeze.

Work Around - Create a global variable that is set to 1 when Login Succeeded and to 0 when Login Failed or user is logged out. Check that variable before posting scores or submitting achievements.

This issue does not happen on game center that I have found.

@LibelulaV
Copy link
Contributor

Hello,

Thanks a lot for your message. I will have a look to the Plugin code to see if I can add a condition to avoid this issue in the future update.

Regards.

@LibelulaV
Copy link
Contributor

Hello,

I have been investigating this issue, checking the code of the old and new plugin and, well, both of them already have an internal function called isLoggedIn() that returns true is the user is logged in and false in the other way. This is called when the function ShowLeaderboards is called (and also the achievements). So it seems this function is not working as expected. I need a little bit more of time for figuring out what is happening, because it works fine in our demos. I will keep you informed.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants