Commit 0b625987 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update RNFIRMesssaging.m

parent f87deed2
......@@ -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]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment