Skip to main content
Lorenzo_Nuvoletta-K15qTH
Known Participant
August 13, 2012
Answered

Sockets disconnect when iPad goes in sleep mode

  • August 13, 2012
  • 6 replies
  • 1664 views

Whenever the App goes in sleep mode or anybody clicks the sleep button (on top of the iPad) the app loses socket connections.

Is there a particular reason for this or it is a bug?

This topic has been closed for replies.
Correct answer Pahup

You should use executeInBackground property which was introduced in AIR 3.3. For more details please see "Enhanced Background Behavior for AIR iOS" section @ http://helpx.adobe.com/flash-player/release-note/developer-release-notes-11_3.html

Help - http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html

-Thanks

Pahup

6 replies

Pahup
Adobe Employee
PahupCorrect answer
Adobe Employee
August 14, 2012

You should use executeInBackground property which was introduced in AIR 3.3. For more details please see "Enhanced Background Behavior for AIR iOS" section @ http://helpx.adobe.com/flash-player/release-note/developer-release-notes-11_3.html

Help - http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html

-Thanks

Pahup

Lorenzo_Nuvoletta-K15qTH
Known Participant
August 15, 2012

Thank you Pahup that worked

Pahup
Adobe Employee
Adobe Employee
August 15, 2012

glad to hear.

-Pahup

chris.campbell
Legend
August 14, 2012

Forwarded to the iOS team for their review

Lorenzo_Nuvoletta-K15qTH
Known Participant
August 14, 2012

Should I open a bug report about it?

chris.campbell
Legend
August 14, 2012

It can't hurt.  Any sample code/projects that you can provide would be appreciated.