{ "id": "65632", "key": "TIMOB-4160", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-05-20T19:22:39.000+0000", "created": "2011-05-20T12:03:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "kitchensink", "tbs-1.7.1" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:00:14.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": "Description:\nKS does not throw an alert when it goes to the background. Console output from KS being placed in background to launching again is:\nFri May 20 11:56:32 unknown UIKitApplication:com.appcelerator.pushtest[0x10c3][68700] : [INFO] app was paused from the foreground\nFri May 20 11:56:32 unknown KitchenSink[68700] : [Warning] Deregistering for sleep notifications when we have not registered\nFri May 20 11:56:32 unknown com.apple.launchd[1] : (com.apple.mobile.installd.mount_helper) posix_spawn(\"/usr/libexec/installd_mount_helper\", ...): No such file or directory\nFri May 20 11:56:32 unknown com.apple.launchd[1] : (com.apple.mobile.installd.mount_helper) Exited with exit code: 1\nFri May 20 11:56:32 unknown com.apple.launchd[1] : (com.apple.mobile.installd.mount_helper) Throttling respawn: Will start in 10 seconds\nFri May 20 11:56:38 unknown UIKitApplication:com.appcelerator.pushtest[0x10c3][68700] : [INFO] app is resuming from the background\nFri May 20 11:56:38 unknown sandboxd[68817] : KitchenSink(68700) deny iokit-open RootDomainUserClient\nFri May 20 11:56:38 unknown KitchenSink[68700] : [Warning] IORegisterForSystemPower failed\nFri May 20 11:56:38 unknown UIKitApplication:com.appcelerator.pushtest[0x10c3][68700] : [INFO] app has resumed from the background\nFri May 20 11:56:38 unknown KitchenSink[68700] : [Warning] IMLocalObject died: [IMLocalObject] Port Name: com.appcelerator.pushtest-listener\n\nSteps to reproduce:\n1) Install and launch KS\n2) Click the \"home\" button to background KS\n\nResult:\nNo alert is presented\n\nExpected Result:\nAlert with \"close\" or \"Resume\" and very excited text describing the fact that KS is now in the background\n\nNotes:\n", "attachment": [], "flagged": false, "summary": "iOS: KitchenSink no longer presents notification when it goes to background", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Verizon iPhone 4 (4.2.6) , Titanium Studio, build: 1.0.0.201105131803, Titanium SDK version: 1.7.X r3ecace11", "comment": { "comments": [ { "id": "134056", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This may be considered intermittent as I have just witnessed the alert for the first time this pass. I'll try to provide more data around frequency.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-20T13:00:19.000+0000", "updated": "2011-05-20T13:00:19.000+0000" }, { "id": "134087", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Turns out it's as designed: On the first launch, the notification happens, but the JS specifically asks to stop the background service once it's done. Tested this on 1.6.2 and had same behavior.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-20T19:22:39.000+0000", "updated": "2011-05-20T19:22:39.000+0000" }, { "id": "410887", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:00:14.000+0000", "updated": "2017-03-09T23:00:14.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }