`Leaderboard` tab not showing in Google Play Games while `Achievements` tab is there

风格不统一 提交于 2019-12-10 12:55:08

问题


I have enabled and added a leaderboard and achievements to my game. The leaderboard tab is not being displayed in Google Play Games, but the achievement tab is. I've read that the app needs to gain enough attention? What does that mean exactly? And how am I supposed to test this feature?

This is an example from the web

It shows the achievements tab, but as you can see, to the right, is a Leaderboards tab.


回答1:


For your question it seems that you are trying to Find LeaderBoard in achievement Tab

LeaderBoard and Achievement are not shown Simultaneously u need to show LeaderBoard differently by calling

startActivityForResult(Games.Leaderboards.getLeaderboardIntent(
                getApiClient(), getResources().getString(
                        **R.string.your_leaderboard_id**)), REQUEST_LEADERBOARDS);

and For achievement it is

startActivityForResult(Games.Achievements.getAchievementsIntent(
                        getApiClient()), REQUEST_ACHIEVEMENTS);



回答2:


I contacted Google support directly. They told me that my app did not pass their threshold of Google Play Games users. They decided to keep it a secret where the threshold is.



来源:https://stackoverflow.com/questions/35178395/leaderboard-tab-not-showing-in-google-play-games-while-achievements-tab-is-t

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!