This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I'm trying to implement Google Play Game Services in my game using that plugin:

After configure de Google API and certificates the implementation works fine in my phone when i install the app by .apk (Without debug) but when i execute by google play instalation returns the error 4 when sign in.

Someone have experience with this? Some sugestion?

in Engine by (171 points)

1 Answer

0 votes
Best answer


I've used the SHA1 code of the release keystore to link the app with google API, but the correct would be use the key that google play generated to app.

by (171 points)

Same error...but i dont understand your solution...Please can you describe step by step what you did? I have created the SHA1 of the keystore for release creating a new credential but I cannot connect either

I had the same problem as EmanuelOzorio, let me elaborate what he means.
This solution works in the following case:
If you install the apk directly, you can sign in.
If you upload to the console and download from the store, it gives error 4.
Probably you let google manage your app signing.
In that case, in the OAuth credentials, you should use the SHA-1 fingerprint from the key that google uses to sign your app, and not from your own key.
This SHA-1 fingerprint can be found in the google play console, under settings > app integrity.

I still getting the error 4

I replaced the OAuth credential fingerprint with the one under app integrity in the google play console, but it doesn't work

i'm really running out of hope

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.