Ensure notification payload is passed to completion handler
Summary: Fixes #10863 Closes https://github.com/facebook/react-native/pull/10860 Differential Revision: D4175834 Pulled By: hramos fbshipit-source-id: 5cf317eb675528c647425c70eff939a9db9728fa
This commit is contained in:
parent
24d2bbfbab
commit
df6b8bd832
|
@ -219,7 +219,7 @@ RCT_EXPORT_MODULE()
|
|||
self.remoteNotificationCallbacks[notificationId] = completionHandler;
|
||||
}
|
||||
|
||||
[self sendEventWithName:@"remoteNotificationReceived" body:notification.userInfo];
|
||||
[self sendEventWithName:@"remoteNotificationReceived" body:remoteNotification];
|
||||
}
|
||||
|
||||
- (void)handleRemoteNotificationsRegistered:(NSNotification *)notification
|
||||
|
|
Loading…
Reference in New Issue