Google Play Games Services API Leaderboard API cannot see other player ratings

I am developing an Android application in which I use the games API for Google Play games. I have successfully implemented leaderboards in all aspects, except that I can not see dozens of other players, only my own player rating is shown.

It acts as if my tester users did not share their game with the current user, but in fact they are, and this fact is invisible to their accounts. I also confirmed that the current user is sharing this application with these other tester users. UPDATE: I can see other points using "Everything", but not in "Social". However, why are there no points in Social?

I am using 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 easily switch between accounts, inputs, sending points, etc. for each account, but I just don’t see other tester account accounts when I start activity in the leaderboard.

Any ideas on where to look?

+5
source share
1 answer

Is your application and game services backend published or still in test mode?

Adapted from Google docs:

"Social leaderboards will be blank until you publish the appropriate leaderboard using the Google Play Developer Console"

https://developers.google.com/games/services/common/concepts/leaderboards

Another good post: https://developers.google.com/games/services/common/concepts/leaderboardsAdvanced

+5
source

Source: https://habr.com/ru/post/1206343/


All Articles