From 0b62598765a41623569bd2f585b64b3756b4d365 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Fri, 20 Jan 2017 14:30:50 -0500 Subject: [PATCH] Update RNFIRMesssaging.m --- ios/RNFIRMesssaging.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RNFIRMesssaging.m b/ios/RNFIRMesssaging.m index e238d79..d3221b6 100644 --- a/ios/RNFIRMesssaging.m +++ b/ios/RNFIRMesssaging.m @@ -288,7 +288,7 @@ RCT_EXPORT_METHOD(scheduleLocalNotification:(id)data resolver:(RCTPromiseResolve } } -RCT_EXPORT_METHOD(removeDeliveredNotifications:(NSString*) notificationId) +RCT_EXPORT_METHOD(removeDeliveredNotification:(NSString*) notificationId) { if([UNUserNotificationCenter currentNotificationCenter] != nil){ [[UNUserNotificationCenter currentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[notificationId]]; -- 2.26.2