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

Unable to use play_games_services.sign_in() function #3

Open
johnkappa221 opened this issue Feb 9, 2020 · 5 comments
Open

Unable to use play_games_services.sign_in() function #3

johnkappa221 opened this issue Feb 9, 2020 · 5 comments

Comments

@johnkappa221
Copy link

Whenever I call the function play_games_services.sign_in(), there seems to be a popup which will end instantaneously and I would not be able to login.

@johnkappa221 johnkappa221 changed the title play_games_services.sign_in() function Unable to use play_games_services.sign_in() function Feb 9, 2020
@anisc
Copy link
Contributor

anisc commented Mar 9, 2020

hey @johnkappa221 did you figured it out? I have almost the same problem I was able to sign in once but then after that I can't I get a pop up that end instantly after and I'm not able to sign in, sign out or show leaderboard.

@cgisca
Copy link
Owner

cgisca commented Apr 1, 2020

@johnkappa221 , @anisc could you please try again with the latest released plugin 1.2.0 (https://github.com/cgisca/PGSGP/releases/tag/1.2.0) . Please check once again Readme, and follow up all the steps described there.

@tx350z
Copy link

tx350z commented Apr 22, 2020

[EDITED] I had the same problem. If the error code received by the sign_in call back is 8 (Permission Denied), the solution is to log into Google API Console and enable Google Drive API. The requirement for this API permission is not well documented.

@hamparawa
Copy link

If the error code is 4, you may need to check the SHA1 key that is entered when you configure the Google Play services. If you are using a debug build, you need to link it separately. https://developers.google.com/games/services/console/enabling#c_specify_client_id_settings

@Wallace99
Copy link

Wallace99 commented Sep 28, 2020

Does anyone have any pointers on fixing error code 8 when trying to sign in? I've enabled Google Drive API but no luck. I configured Google Play Services correctly as far as I know but only did it yesterday so wonder if it takes time to propagate or something?

EDIT: ah my bad, was missing app_id from the AndroidManifest

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

6 participants