[AC-2916] iOS localnotification event listeners only consistently work once per app launch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-08-30T03:15:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | 1.7.0, 1.7.1, bug, eventlistener, ios, notification |
Reporter | Mike Pinch |
Assignee | Paul Dowsett |
Created | 2011-07-11T18:31:38.000+0000 |
Updated | 2016-03-08T07:47:53.000+0000 |
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.
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.
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
Ticket resolved and not updated since last curator action.