Hi
I followed this blog and the GPGS works as it should however the Gamecenter wont posts scores
http://www.coronalabs.com/blog/2013/06/25/tutorial-introducing-google-play-game-services/
can you tell me exactly what is myCategory should be?
if my bundle id is “com.test.game” would it be the same for myCategory too?
local function postScoreSubmit( event )
–whatever code you need following a score submission…
return true
end
local myScore = 100
–for GameCenter, default to the leaderboard name from iTunes Connect
local myCategory = " com.yourname.yourgame.highscores"
if ( system.getInfo( “platformName” ) == “Android” ) then
–for GPGS, reset “myCategory” to the string provided from the leaderboard setup in Google
myCategory = “CgkJtbq23agVEAIQAQ”;
end
gameNetwork.request( “setHighScore”,
{
localPlayerScore = { category=myCategory, value=tonumber(myScore) },
listener = postScoreSubmit
} )