Jpellat
Jpellat

Reputation: 917

Game center log in issue

I have a strange issue with Game Center and I hope someone can help me. My expected behaviour is this one. I'm on iOS 6 and in debug:

-When I start the application I log with GameCenter but if the user is not loged I don't show the interface, my idea here if it's logged to GC fine but if he is not I don't care

-After inside the application I have a button to log on gameCenter if he wants to acces to features related to that

The problem comes that when I try the app with a device that has never used my game, even if he is logged to gameCenter, the user is not authenticated, if he logs from my button with the interface the next executions he is loged at the start without interaction

The strange thing is that inside the completion handler the NSError* error param is nul but local localPlayer.isAuthenticated is false

How that's possible? Anyone has found this issue?

Upvotes: 0

Views: 1143

Answers (1)

Salih Ozdemir
Salih Ozdemir

Reputation: 258

Did you create a sandbox account ? You have to create a sandbox account for testing . And if you give your authenticating code I can help more

Upvotes: 1

Related Questions