{ "id": "77711", "key": "AC-2916", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-08-30T03:15:58.000+0000", "created": "2011-07-11T18:31:38.000+0000", "labels": [ "1.7.0", "1.7.1", "bug", "eventlistener", "ios", "notification" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:47:53.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Going to use the kitchen sink as the example: If you modify KS so that it registers the background service each time you pause the app (by putting it in the pause eventlistener), the eventlistener on the notification defined in the bg service only works one time. If you background the app a couple times, you will see in the console that they don't work. \r\n\r\nSimilarly, if you schedule multiple notifications during one background service call, the event listener only works once. (occasionally not at all!).\r\n\r\n\r\nTo reproduce, just modify kitchensink to put the background service registration into the pause event listener.", "attachment": [], "flagged": false, "summary": "iOS localnotification event listeners only consistently work once per app launch", "creator": { "name": "mpinch", "key": "mpinch", "displayName": "Mike Pinch", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpinch", "key": "mpinch", "displayName": "Mike Pinch", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 4+", "comment": { "comments": [ { "id": "164477", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "I am sorry, Mike, but some code that reproduces the issue needs to be in the ticket. In order for us to progress it, please edit your ticket to include a proper [use-case|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases]. Please add the missing information *in the format and places* requested in the guidelines at [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist].\n\nReopen again once you have done this.\n\nThank you in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-30T03:15:58.000+0000", "updated": "2011-08-30T03:15:58.000+0000" }, { "id": "177244", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Ticket resolved and not updated since last curator action.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-27T06:40:49.000+0000", "updated": "2011-12-27T06:40:49.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }