extension-gpgs icon indicating copy to clipboard operation
extension-gpgs copied to clipboard

Player center scores shows old values

Open tocaRepo opened this issue 2 weeks ago • 1 comments
trafficstars

Similar issue that a unity plugin has https://github.com/playgameservices/play-games-plugin-for-unity/issues/2674

the playercenter score shows old values or old cached values.

there is a forceReload params i think https://developers.google.com/android/reference/com/google/android/gms/games/LeaderboardsClient#public-abstract-taskannotateddataleaderboardsclient.leaderboardscores-loadplayercenteredscores-string-leaderboardid,-int-span,-int-leaderboardcollection,-int-maxresults,-boolean-forcereload

can we have that surfaced in the defold extension?

Thanks

tocaRepo avatar Nov 05 '25 07:11 tocaRepo

Could you please try this branch: https://github.com/defold/extension-gpgs/archive/refs/heads/issue-56-add-option-to-force-reload-leaderboard-scores.zip

There's now a force_reload argument which you can provide.

britzl avatar Nov 06 '25 09:11 britzl