cgisca / PGSGP

Play Games Services plugin for Godot Game Engine - Android
MIT License
217 stars 61 forks source link

Invalid applicationId with value . Reason: No application ids specified #25

Closed HanouaJ closed 4 years ago

HanouaJ commented 4 years ago

After literally following the README.md instructions and Google Play Services setup guide, I am still unable to do the sign in. I used the 1.2.0 version of the code of this repo and also the very last commit. I am using Godot 3.2.1

This is what I get after I do a init() and sign_in():

06-28 01:33:35.985 32276 32332 W PlayCommon: [2113] pds.a: No account for auth token provided
......
06-28 01:33:36.583 30814 30856 E PlayerAgent: Unable to load player gxxxx2538xx327090xxxx
06-28 01:33:36.588 30814 30856 W PlayerAgent: {"errors":[{"domain":"global","reason":"invalid","message":"Invalid applicationId with value . Reason: No application ids specified."}],"code":400}
....
06-28 01:33:36.604 32276 32276 W SignInActivity: onSignInFailed()...
06-28 01:33:36.604 32276 32276 W SignInActivity: Sign in failed during 8
06-28 01:33:36.604 32276 32276 W SignInActivity: ==> Returning non-OK result: 10002

I also see this in the adb logs but I don't think it is related :

15288 15409 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
15288 15409 W Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@202117021@20.21.17 (040408-316502805):2)
15288 15409 W Conscrypt:     at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@202117021@20.21.17 (040408-316502805):0)

I don't think that my problem is related to the keystore or the SHA1 certs, as I verified it many times.

HanouaJ commented 4 years ago

It turns out that after the creation of the Google Play Service and linked apps, you have to wait few hours before it becomes operational, sadly it wasn't mentioned anywhere in the Google Play Service documentation. Also, do not forget to add test users to the "Testing" section in the Games Services section in Google Play.

Closing this issue.