Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2916] iOS localnotification event listeners only consistently work once per app launch

GitHub Issuen/a
ResolutionNeeds more info
Resolution Date2011-08-30T03:15:58.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels1.7.0, 1.7.1, bug, eventlistener, ios, notification
ReporterMike Pinch
AssigneePaul Dowsett


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. Similarly, if you schedule multiple notifications during one background service call, the event listener only works once. (occasionally not at all!). To reproduce, just modify kitchensink to put the background service registration into the pause event listener.


  1. Paul Dowsett 2011-08-30

    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). Reopen again once you have done this. Thank you in advance
  2. Paul Dowsett 2011-12-27

    Ticket resolved and not updated since last curator action.

JSON Source