Android games leaderboard broken while testing

前端 未结 1 763
我寻月下人不归
我寻月下人不归 2020-12-18 14:24

I have successfully integrated the Google Games API in my app, and now I can see my leaderboard and achievements as described here and here respectively.

However, wh

相关标签:
1条回答
  • 2020-12-18 14:33

    After testing with the submitScoreImmediate, I saw that I got STATUS_CLIENT_RECONNECT_REQUIRED. Based on this post, I figured that I had to create another OAUTH client id, using my debug.keystore.

    And this was true; when I created a release certificate-signed APK and tried it, everything worked.

    Now, Google mentions here the following:

    Note: If you are debugging your game using your debug certificate but have configured games services using your release certificate, you should add a second linked app using the same package name and your debug certificate's SHA1 fingerprint. This will allow you to sign in to the application whether it's signed with the debug or release certificates.

    However, if I try to link a 2nd app with the same package, I CANNOT apply another SHA1 fingerprint, since the Approval button does not appear, and thus cannot provide my debug key.

    Is there any help on this?

    0 讨论(0)
提交回复
热议问题