Need Gamecenter help

After user closes gamecenter login dialog with cancel button the new gamecenter dialog don’t appear on subsequent calls to gameNetwork.init( ).

Here is my workflow:

  1. Call gameNetwork.init( “gamecenter”, gcInitCallback )
  2. Hit cancel button
  3. Call gameNetwork.init( “gamecenter”, gcInitCallback ) again
  4. Gamecenter window not popping up and gcInitCallback has init in event.type and false in event.data

To reenable gamecenter in my game I am forced to login in gamecenter app. [import]uid: 199969 topic_id: 34753 reply_id: 334753[/import]

I believe this is an accepted design of Game Center imposed by Apple - the belief is that if a user selects cancel then they don’t want to use GC.

[import]uid: 33275 topic_id: 34753 reply_id: 138078[/import]

I’ve got an achievements and gamecenter buttons in main menu. When user clicks one of them the login dialog should appear again.
But I cannot find a way how to reenable gamecenter for that situation.

For example, in JetPack Joyride, when I press cancel three times, there will be alert with choice to disable gamecenter completely. After that, the gamecenter button says: “Game center unavailable. Player is not signed in”
[import]uid: 199969 topic_id: 34753 reply_id: 138090[/import]

I believe that gameNetwork.init() only runs once and if the user cancels it, they have to kill the app and restart it to get it to go again. There is no re-init function.

[import]uid: 199310 topic_id: 34753 reply_id: 138206[/import]

According to my tests, even after killing the app gameNetwork.init() doesn’t show login dialog but it just returns false. So after cancel is pressed the only way to login into GC is launch Game Center app and login there.
So, I’ve solved the problem by just showing the alert about disabled gamecenter… [import]uid: 199969 topic_id: 34753 reply_id: 138263[/import]

I believe this is an accepted design of Game Center imposed by Apple - the belief is that if a user selects cancel then they don’t want to use GC.

[import]uid: 33275 topic_id: 34753 reply_id: 138078[/import]

I’ve got an achievements and gamecenter buttons in main menu. When user clicks one of them the login dialog should appear again.
But I cannot find a way how to reenable gamecenter for that situation.

For example, in JetPack Joyride, when I press cancel three times, there will be alert with choice to disable gamecenter completely. After that, the gamecenter button says: “Game center unavailable. Player is not signed in”
[import]uid: 199969 topic_id: 34753 reply_id: 138090[/import]

I believe that gameNetwork.init() only runs once and if the user cancels it, they have to kill the app and restart it to get it to go again. There is no re-init function.

[import]uid: 199310 topic_id: 34753 reply_id: 138206[/import]

According to my tests, even after killing the app gameNetwork.init() doesn’t show login dialog but it just returns false. So after cancel is pressed the only way to login into GC is launch Game Center app and login there.
So, I’ve solved the problem by just showing the alert about disabled gamecenter… [import]uid: 199969 topic_id: 34753 reply_id: 138263[/import]

ugh. our app just got rejected because of this behaviour O_O!

They sent a screenshot of the alert that said, that game center is offline.

I don’t know what to do but to rephrase the alert text. to something like

“Please use the Game Center App to login to gamecenter!”

What do your alerts say?

ugh. our app just got rejected because of this behaviour O_O!

They sent a screenshot of the alert that said, that game center is offline.

I don’t know what to do but to rephrase the alert text. to something like

“Please use the Game Center App to login to gamecenter!”

What do your alerts say?