Game Center "Unable to Load"

Hi,

I’m trying to implement Game Center on my app. I create a leaderboard on itunes, i put this lines on my build.settings

settings = { iphone = { plist= { CFBundleIdentifier = "com.myCompany.myApp", }, components = {} } }

and i call this line to set the score

if loggedIntoGC then gameNetwork.request( "setHighScore", { localPlayerScore={ category="Leaderboard1", value=tostring( puntos ) }, listener=requestCallback } ); else offlineAlert(); end

Leaderboard1 is the leaderboard name (not the referenced name or ID).

Then, for show the results i call this line

if loggedIntoGC then gameNetwork.show( "leaderboards", { leaderboard={ category="Leaderboard1", timeScope="Week" } } ); else offlineAlert(); end

My problem is that when i see the leaderboard, it says “Unable to Load” in Friends, and in All Players.

Am i doning something wrong? Am i missing any step? It is ok to call the leaderboard only by his name?

Thank you [import]uid: 105206 topic_id: 29040 reply_id: 329040[/import]

Hi,

I change the leaderboard name for the leaderboard ID and now it says “No Scores”. Is this normal?
I read in different places that sometimes it delay to appeared. [import]uid: 105206 topic_id: 29040 reply_id: 116847[/import]

I have the same problem when integrating Game Center. When i call

gameNetwork.request( "unlockAchievement", { achievement = { identifier="com.achievement1", percentComplete=100, showsCompletionBanner=true, }, listener=function(event) if event.data then native.showAlert("Alert", json.encode(event.data), { "OK" } ); else native.showAlert("Alert", "failed", { "OK" } ) end end });
The native alert show with the details of the achievement i’ve unlocked but the Completion Banner never show.
Anyone help me please!
[import]uid: 106616 topic_id: 29040 reply_id: 120163[/import]

Case haven’t been solved. Still looking !!! [import]uid: 106616 topic_id: 29040 reply_id: 120286[/import]

I have the same problem when integrating Game Center. When i call

gameNetwork.request( "unlockAchievement", { achievement = { identifier="com.achievement1", percentComplete=100, showsCompletionBanner=true, }, listener=function(event) if event.data then native.showAlert("Alert", json.encode(event.data), { "OK" } ); else native.showAlert("Alert", "failed", { "OK" } ) end end });
The native alert show with the details of the achievement i’ve unlocked but the Completion Banner never show.
Anyone help me please!
[import]uid: 106616 topic_id: 29040 reply_id: 120163[/import]

Case haven’t been solved. Still looking !!! [import]uid: 106616 topic_id: 29040 reply_id: 120286[/import]