[ios][notifications] Add missing completionHandler
This commit is contained in:
parent
673855c510
commit
67d70b9fb7
|
@ -102,6 +102,7 @@ RCT_EXPORT_MODULE();
|
||||||
// Pass them over to the RNFirebaseMessaging handler instead
|
// Pass them over to the RNFirebaseMessaging handler instead
|
||||||
if (userInfo[@"aps"] && ((NSDictionary*)userInfo[@"aps"]).count == 1 && userInfo[@"aps"][@"content-available"]) {
|
if (userInfo[@"aps"] && ((NSDictionary*)userInfo[@"aps"]).count == 1 && userInfo[@"aps"][@"content-available"]) {
|
||||||
[[RNFirebaseMessaging instance] didReceiveRemoteNotification:userInfo];
|
[[RNFirebaseMessaging instance] didReceiveRemoteNotification:userInfo];
|
||||||
|
completionHandler(UIBackgroundFetchResultNoData);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue