[TIMOB-1424] resume event is fired twice
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M10 |
Components | iOS |
Labels | defect, ios, release-1.6.0, resume |
Reporter | Nolan Wright |
Assignee | Jeff Haynie |
Created | 2011-04-15T02:51:59.000+0000 |
Updated | 2011-04-17T01:56:08.000+0000 |
Description
Titanium.App.addEventListener('resume',function(e)
{
Ti.API.info('resume fired')
});
add this to app.js, close app, re-open. printed twice
Seeing the same thing with 1.4.0. Better hope your resume handler actions are idempotent! :)
I got the same on 1.4.2 - iOS 4.1 and 4.2
resume events are getting fired twice every time we resume app execution.
Tested as described with KS 1.6.0RC1 on iOS (startup, background, resume). Appears to be resolved on iOS. Assigning to Don for triage in case this affects Android.
Forgot to tag 'android' to move into the right bin.
Android doesn't fire the resume event since we don't get it at an app level. This is handled by currentActivity.addEventListener("resume", ...) instead.
forgot to mark resolved.