incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-115) Pause/Resume events do not fire when locking/unlocking screen in ios < 5
Date Wed, 14 Mar 2012 18:36:42 GMT


Shazron Abdullah commented on CB-115:

They are perfectly consistent with Apple's changing whims on every iOS version's basis ;)
Let me explain.


Section: Moving to the Background
When the user presses the Home button, presses the Sleep/Wake button, or the system launches
another app, the foreground app transitions to the inactive state and then to the background
state. hese transitions result in calls to the app delegate’s applicationWillResignActive:
and applicationDidEnterBackground: methods,

So according to that iOS 5 doc, what you see is correct. But, on iOS 4, when locking the app,
the applicationDidEnterBackground event is never called (pause). 

> Pause/Resume events do not fire when locking/unlocking screen in ios < 5
> ------------------------------------------------------------------------
>                 Key: CB-115
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


View raw message