Commit 5f8eaf79 authored by thedumbterminal's avatar thedumbterminal
Browse files

added othr users patch for cordova 3.6

parent b789cfca
Loading
Loading
Loading
Loading
+6 −2
Changes for src/ios/APPLocalNotification.m: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -572,8 +572,12 @@

    for (UILocalNotification* notification in notifications)
    {
        NSString* notId = [[notification.userInfo objectForKey:@"id"] stringValue];

        NSString* notId = NULL;
        if ([[notification.userInfo objectForKey:@"id"] isKindOfClass:[NSString class]] ) {
            notId = [notification.userInfo objectForKey:@"id"];
        } else {
            notId = [[notification.userInfo objectForKey:@"id"] stringValue];
        }
        if ([notId isEqualToString:id]) {
            return notification;
        }