Hi guys,
I am trying to implement custom daily leaderboard in my game, and getting very strange behavior:
My request is to get the top 5 players, when the local player have no score i do get top 5,
but after i submit a score for the local player the same call return response as “centered” call,
i am unable to get top scores if the player already played today…
[lua]commonData.gpgs.leaderboards.loadScores( {
leaderboardId = myCategory,
friendsOnly = false,
limit = 5,
timeSpan = “daily”,
reload = true,
listener = function(event2)
print("--------top----------")
printTable(event2)
commonData.leaderboard.top = event2.scores
} ) [/lua]
btw -
1.leaderboards.show do work good for me and display the top players
2.i am using the latest daily build
Did someone get the same issue and manage to overcome it?
thanks , Barak
Maybe someone from corona team can help me check it?
I double checked it and it acts the same also when i declare position=“top” (which is the default value)
Its look like that i am getting the behavior of “listWindow” from google docs, with returnTopIfAbsent=true
https://developers.google.com/games/services/web/api/scores/listWindow
I’ve tried to check device logs for request to google but couldn’t find anything relevant…
Any lead will be very welcome here 
thanks, Barak
Maybe someone from corona team can help me check it?
I double checked it and it acts the same also when i declare position=“top” (which is the default value)
Its look like that i am getting the behavior of “listWindow” from google docs, with returnTopIfAbsent=true
https://developers.google.com/games/services/web/api/scores/listWindow
I’ve tried to check device logs for request to google but couldn’t find anything relevant…
Any lead will be very welcome here 
thanks, Barak