Commit dd6fcd00 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Merge pull request #200 from davidtron/ios-notificationWithId

Convert the id value to a String before comparison
parents a33413a1 08c2fd18
Loading
Loading
Loading
Loading
+1 −1
Changes for src/ios/APPLocalNotification.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -568,7 +568,7 @@

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

        if ([notId isEqualToString:id]) {
            return notification;