incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryce Curtis (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-375) Resume event should fire only when app is leaving background and coming to foreground, not during page load.
Date Fri, 23 Mar 2012 05:16:24 GMT

     [ https://issues.apache.org/jira/browse/CB-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bryce Curtis resolved CB-375.
-----------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=ee965b37034f6f6ac9e19d778673c875d0b9ee2c
                
> Resume event should fire only when app is leaving background and coming to foreground,
not during page load.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-375
>                 URL: https://issues.apache.org/jira/browse/CB-375
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 1.5.0
>            Reporter: Bryce Curtis
>            Assignee: Bryce Curtis
>             Fix For: 1.6.0
>
>
> The resume event behavior at init was accidentally included when moving from phonegap.base.js
to cordova-js.
> The lifecycle behavior is:
>  * The only Cordova events that user code should register for are:
>  *      deviceready           Cordova native code is initialized and Cordova APIs can
be called from JS
>  *      pause                 App has moved to background
>  *      resume                App has returned to foreground
>  * The DOM lifecycle events should be used for saving and restoring state
>  *      window.onload
>  *      window.onunload

--
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

        

Mime
View raw message