{ "id": "62056", "key": "TIMOB-1424", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11243", "name": "Release 1.6.0 M10", "archived": true, "released": true, "releaseDate": "2011-02-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:08.000+0000", "created": "2011-04-15T02:51:59.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "defect", "ios", "release-1.6.0", "resume" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:56:08.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Titanium.App.addEventListener('resume',function(e)
\n{
\nTi.API.info('resume fired')
\n
\n});
\nadd this to app.js, close app, re-open. printed twice
Seeing the same thing with 1.4.0. Better hope your resume\nhandler actions are idempotent! :)
I got the same on 1.4.2 - iOS 4.1 and 4.2
\nresume events are getting fired twice every time we resume app\nexecution.
Tested as described with KS 1.6.0RC1 on iOS (startup,\nbackground, resume). Appears to be resolved on iOS. Assigning to\nDon 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\nan app level. This is handled by\ncurrentActivity.addEventListener(\"resume\", ...) instead.
forgot to mark resolved.