iPad Adobe Air Port
Posted: 02 Apr 2014, 20:02
I have a game that works for desktop, as well as the iPad. The problem I'm trying to tackle however on the iPad is the scenario when a user leaves the game app with the home button, then allows the iPad screen to timeout within an app I have no control over.
The problem is that upon return to the game app SFS has lost connection to the server due to the iOS app suspension. The user is no longer connected. Do you have any suggestions on how to handle this?
I could see capturing an "awake event" in which the app looks to see if its still connected to the server, and if not connected I could require the user to log back in. Is this possible?
If that is not possible, how does SFS handle the situation? Does it just become a zombie since its been disconnected for many minutes?
Thanks!!
The problem is that upon return to the game app SFS has lost connection to the server due to the iOS app suspension. The user is no longer connected. Do you have any suggestions on how to handle this?
I could see capturing an "awake event" in which the app looks to see if its still connected to the server, and if not connected I could require the user to log back in. Is this possible?
If that is not possible, how does SFS handle the situation? Does it just become a zombie since its been disconnected for many minutes?
Thanks!!