From 67d70b9fb738db975fc8cd81434eead541ec2c90 Mon Sep 17 00:00:00 2001 From: Chris Bianca Date: Fri, 13 Apr 2018 12:18:17 +0100 Subject: [PATCH] [ios][notifications] Add missing completionHandler --- ios/RNFirebase/notifications/RNFirebaseNotifications.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/RNFirebase/notifications/RNFirebaseNotifications.m b/ios/RNFirebase/notifications/RNFirebaseNotifications.m index ebae5bff..53d5c563 100644 --- a/ios/RNFirebase/notifications/RNFirebaseNotifications.m +++ b/ios/RNFirebase/notifications/RNFirebaseNotifications.m @@ -102,6 +102,7 @@ RCT_EXPORT_MODULE(); // Pass them over to the RNFirebaseMessaging handler instead if (userInfo[@"aps"] && ((NSDictionary*)userInfo[@"aps"]).count == 1 && userInfo[@"aps"][@"content-available"]) { [[RNFirebaseMessaging instance] didReceiveRemoteNotification:userInfo]; + completionHandler(UIBackgroundFetchResultNoData); return; }