[
https://issues.apache.org/jira/browse/CB-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229479#comment-13229479
]
Shazron Abdullah commented on CB-115:
-------------------------------------
They are perfectly consistent with Apple's changing whims on every iOS
version's basis ;) Let me explain.
See:
https://developer.apple.com/library/ios/#DOCUMENTATION/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html
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: 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