2
0
mirror of synced 2025-01-20 19:30:11 +00:00

[ios][notifications] Add missing completionHandler

This commit is contained in:
Chris Bianca 2018-04-13 12:18:17 +01:00
parent 673855c510
commit 67d70b9fb7

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