More information from my testing, it gets complicated iOS4 vs iOS 5 (with multitasking ON/OFF): http://shazronatadobe.wordpress.com/2012/03/14/apache-cordova-lifecycle-events-in-ios-4-versus-ios-5/
On Wed, Mar 14, 2012 at 12:49 PM, Bryce Curtis <[email protected]> wrote: > Is there any way to be consistent across platforms on this? For Android > lock/unlock fires onpause/onresume events. Does it make sense for iOS to > fire the same events to JS, even though they may be different native events > between the iOS 4/5? > > > On Wed, Mar 14, 2012 at 2:12 PM, Shazron Abdullah (Resolved) (JIRA) < > [email protected]> wrote: > >> >> [ >> https://issues.apache.org/jira/browse/CB-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] >> >> Shazron Abdullah resolved CB-115. >> --------------------------------- >> >> Resolution: Not A Problem >> >> Works as expected. >> >> > Pause/Resume events do not fire when locking/unlocking screen in ios < 5 >> > ------------------------------------------------------------------------ >> > >> > Key: CB-115 >> > URL: https://issues.apache.org/jira/browse/CB-115 >> > Project: Apache Callback >> > Issue Type: Bug >> > Components: iOS >> > Affects Versions: 1.2.0 >> > Environment: iOS < 5 >> > Reporter: Avidan Chen >> > Assignee: Shazron Abdullah >> > Labels: iOS4 >> > Fix For: 1.6.0 >> > >> > >> > I have tested this in the iOS simulator (4.3.2) and an actual device >> running iOS 4.2.1. When locking the screen with the power button and then >> unlocking it, in iOS 5, the pause and resume events fire properly. >> > However, in iOS 4, these events do not fire. >> > Anyone else seen this? Is there any fix on the way? >> >> -- >> This message is automatically generated by JIRA. >> If you think it was sent incorrectly, please contact your JIRA >> administrators: >> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa >> For more information on JIRA, see: http://www.atlassian.com/software/jira >> >> >>
