[ https://issues.apache.org/jira/browse/CB-8939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529871#comment-14529871 ]
Shazron Abdullah commented on CB-8939: -------------------------------------- This functionality has been moved to a plugin, for cordova-ios 4.0.x, see CB-8475 > Broadcast localnotifications for plugins lost userInfo > ------------------------------------------------------ > > Key: CB-8939 > URL: https://issues.apache.org/jira/browse/CB-8939 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 3.5.0 > Reporter: Alberto Lobo Muñoz > Fix For: 4.0.0 > > > This old issue isn't resolved correctly > https://issues.apache.org/jira/browse/CB-1977. > * Xcode generated project implement the method: > - (void) application:(UIApplication*)application > didReceiveLocalNotification:(UILocalNotification*)notification > { > // re-post ( broadcast ) > [[NSNotificationCenter defaultCenter] > postNotificationName:CDVLocalNotification object:notification]; > } > * And the correct implementation is: > - (void) application:(UIApplication*)application > didReceiveLocalNotification:(UILocalNotification*)notification > { > // re-post ( broadcast ) > [[NSNotificationCenter defaultCenter] > postNotificationName:CDVLocalNotification object:notification > userInfo:notification.userInfo]; > } -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org