You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2012/12/06 23:40:36 UTC

[jira] [Created] (CB-1977) Plugins need to be able to receive LocalNotifications

Jesse MacFadyen created CB-1977:
-----------------------------------

             Summary: Plugins need to be able to receive LocalNotifications
                 Key: CB-1977
                 URL: https://issues.apache.org/jira/browse/CB-1977
             Project: Apache Cordova
          Issue Type: Improvement
          Components: iOS
    Affects Versions: 2.2.0
            Reporter: Jesse MacFadyen
            Assignee: Jesse MacFadyen
             Fix For: 2.3.0


The appdelegate is the only class in the application that can receive the notification, via:
- (void)application:(UIApplication *)application
didReceiveLocalNotification:(UILocalNotification *)notification;

We need to add a method to the default app delegate that re-broadcasts the notification for any plugin that wants to know.

This can be an example implementation for doing the same with some of the other app delegate methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira