iOS game in background... photon disconnects..
Options
I am not sure but I can't seem to find why I get so much "Not connected" messages after I had my application in the background .. Is it possible that Photon disconnects when the application goes in the background (iOS 9)?
0
Comments
-
Yes, on iOS, several seconds after going to background, client is disconnected by server since client can't send pings while in background and server considers it disconnected. You need to reconnect each time disconnection detected.0
-
More info in "Mobile - Home Button Causes Disconnect" section of http://doc.photonengine.com/en/realtime/current/reference/known-issues0
-
Thanks a lot... using OnApplicationPause (Unity Pro + iOS) to reconnect worked for me0