Skip to content

Commit df6b8bd

Browse files
npomfretFacebook Github Bot
authored andcommitted
Ensure notification payload is passed to completion handler
Summary: Fixes #10863 Closes #10860 Differential Revision: D4175834 Pulled By: hramos fbshipit-source-id: 5cf317eb675528c647425c70eff939a9db9728fa
1 parent 24d2bbf commit df6b8bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/PushNotificationIOS/RCTPushNotificationManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ - (void)handleRemoteNotificationReceived:(NSNotification *)notification
219219
self.remoteNotificationCallbacks[notificationId] = completionHandler;
220220
}
221221

222-
[self sendEventWithName:@"remoteNotificationReceived" body:notification.userInfo];
222+
[self sendEventWithName:@"remoteNotificationReceived" body:remoteNotification];
223223
}
224224

225225
- (void)handleRemoteNotificationsRegistered:(NSNotification *)notification

0 commit comments

Comments
 (0)