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