Deactivate gameNetwork init? (Game Center)

Hi,

I’m making the gameNetwork init call: gameNetwork.init(“gamecenter”, callback) and everything works fine.

However, in the case that the user is not logged in to Game Center and they cancel the login screen, they will be prompted to sign in up to 2 more times if they leave the app and then resume it. I’m trying to eliminate this behavior by detecting the sign in screen shown and then a failed login. Detecting it is easy, but I don’t see any way to deactivate the gameNetwork object.

Does anyone know how this would be done? Basically I just want to remove all the gameNetwork listeners so it doesn’t continue to try to log in every time the game is resumed.

Thanks in advance.

Regards,

~David

Did you ever get an answer about this?  I find this behavior annoying as well but seems baked into iOS.  

No answer. I came to the same realization - I think this is an iOS thing so it’s probably not really worth worrying about it.

There isn’t an API call that will do this, but you can save some counters on the number of start up times and a second number on the number of times you got past the login.  After that gets out of sync by X value, then disable the login.

Rob

Did you ever get an answer about this?  I find this behavior annoying as well but seems baked into iOS.  

No answer. I came to the same realization - I think this is an iOS thing so it’s probably not really worth worrying about it.

There isn’t an API call that will do this, but you can save some counters on the number of start up times and a second number on the number of times you got past the login.  After that gets out of sync by X value, then disable the login.

Rob