I am developing an Android app in which I use the Google Play Games Services API. I have successfully implemented leaderboards in every aspect except I can't see the scores of other players, only my own currently signed-in player score is shown.
It acts as if my tester users have not shared their game activity with the the current user, but in fact they have, and this fact is visilble in their accounts. I have also confirmed that the current user shares the app with these other tester users. UPDATE: I can see the other scores using "All", but not in "Social". Still, why aren't scores available in "Social"?
I use this GoogleApiClient:
mGoogleApiClient = new GoogleApiClient.Builder(this)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.addApi(Plus.API).addScope(Plus.SCOPE_PLUS_LOGIN)
.addApi(Games.API).addScope(Games.SCOPE_GAMES)
.build();
I can switch accounts, sign-in, submit scores, etc. for each account successfully, but I simply can't see the other tester accounts scores when I start the leaderboard activity.
Any ideas on where to look?
Is your app and game services backend published or still in testing mode?
Taken from Google's docs:
"Social leaderboards will initially be empty until you publish the corresponding leaderboard by using the Google Play Developer Console"
https://developers.google.com/games/services/common/concepts/leaderboards
Another good read is: https://developers.google.com/games/services/common/concepts/leaderboardsAdvanced
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With