iOS "exits on suspend" setting

I am at the point in developing chickie dominos 2.0 where I really gotta make a decision about this setting. Currently have it enabled (i.e. game does not go into background). I can save and load game state very quickly, so this not a problem. And game launches relatively fast on newer devices.

However, I’m using Prime31’s Gamekit and Gamecenter plugins. Do people think these network apis are safe to use with the "exists on suspend"disabled (i.e. game goes into background).

The last thing I want is for the user to end up with a messed up network connection, and have the app keep going into the background when they apparently quit the app. Most users probably don’t know how to kill off backgrounded apps in IOS anyways- since it’s a relatively new feature in iOS 4.x I think.

@mindlube, I always test with both settings in development but deploy with backgrounding enabled. As long as you properly listen to all the relevant events you should be fine with regards to networking. You may want to disconnect all network sockets when you get backgrounded though because they can’t function anyway so you might as well clean them up.

Thanks Mike, that helps a lot. re: disconnecting sockets, do you mean disconnect sockets that I have created myself in C# code, unrelated to your plugins, or do you mean like calling , for example, invalidateSession() in your GameKit plugin?

Both. Any cleanup that is in your power to do at all would be wise.