Loading src/ios/APPLocalNotification.m +2 −0 Changes for src/ios/APPLocalNotification.m: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ */ - (void) cancel:(CDVInvokedUrlCommand*)command { [self.commandDelegate runInBackground:^{ NSArray* arguments = [command arguments]; NSString* notificationId = [arguments objectAtIndex:0]; NSArray* notifications = [[UIApplication sharedApplication] scheduledLocalNotifications]; Loading @@ -72,6 +73,7 @@ [[UIApplication sharedApplication] cancelLocalNotification:notification]; } } }]; } /** Loading Loading
src/ios/APPLocalNotification.m +2 −0 Changes for src/ios/APPLocalNotification.m: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ */ - (void) cancel:(CDVInvokedUrlCommand*)command { [self.commandDelegate runInBackground:^{ NSArray* arguments = [command arguments]; NSString* notificationId = [arguments objectAtIndex:0]; NSArray* notifications = [[UIApplication sharedApplication] scheduledLocalNotifications]; Loading @@ -72,6 +73,7 @@ [[UIApplication sharedApplication] cancelLocalNotification:notification]; } } }]; } /** Loading