Skip to main content
Lorenzo_Nuvoletta-K15qTH
Known Participant
Aug 13, 2012 7:42 PM UTC
Answered

Sockets disconnect when iPad goes in sleep mode

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 is closed to new replies. Start a new post to keep the conversation going.
Pahup
PahupCorrect answer
Adobe Employee
Aug 14, 2012 7:42 AM UTC

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
Aug 14, 2012 7:42 AM UTC

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

Translate
Lorenzo_Nuvoletta-K15qTH
Known Participant
Aug 15, 2012 1:24 AM UTC

Thank you Pahup that worked

Translate
Pahup
Adobe Employee
Adobe Employee
Aug 15, 2012 11:09 AM UTC

glad to hear.

-Pahup

Translate
chris.campbell
Legend
Aug 14, 2012 6:16 AM UTC

Forwarded to the iOS team for their review

Translate
Lorenzo_Nuvoletta-K15qTH
Known Participant
Aug 14, 2012 6:30 AM UTC

Should I open a bug report about it?

Translate
chris.campbell
Legend
Aug 14, 2012 6:31 AM UTC

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

Translate