[ios][notifications] Add missing completionHandler

This commit is contained in:
Chris Bianca 2018-04-13 12:18:17 +01:00
parent 673855c510
commit 67d70b9fb7
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}