diff --git a/ios/RNFIRMesssaging.m b/ios/RNFIRMesssaging.m index e238d79625929e5f04b0aecb55fc7263f477ebf4..d3221b6acfe3ab1c54f3a42bed6ac89ed6df2278 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]];