GPGS leaderboards.submit() not working?

Hi,

For the last few days I have been trying to get the leaderboards functionality of the new GPGS plugin, all be it with no success. I can not seem to get the listener function to work. Am I doing something wrong?

[lua]

function initCB( event )

if not event.isError then

toast.show(‘submitted score’)

print(‘submitted score’)

else

toast.show(‘not submitted score’)

print(‘NOT submitted score’)

print (event.errorMessage)

end

end

local snum =tonumber(score)

local prm={leaderboardId=“cyy_MyLeaderBoardID”,score=snum,listener = initCB}

gpgs.leaderboards.submit(prm)

[/lua]

Did you initialize the plugin and get successfully logged in?

Are there any relevant messages in your device’s console log that might help?

Thanks

Rob

Did you initialize the plugin and get successfully logged in?

Are there any relevant messages in your device’s console log that might help?

Thanks

Rob