Permalink
Browse files

Ensure notification payload is passed to completion handler

Summary:
Fixes #10863
Closes #10860

Differential Revision: D4175834

Pulled By: hramos

fbshipit-source-id: 5cf317eb675528c647425c70eff939a9db9728fa
  • Loading branch information...
1 parent 24d2bbf commit df6b8bd832a7ca3343d4f9bd9cfdefb7cba61e32 @npomfret npomfret committed with Facebook Github Bot Nov 14, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 Libraries/PushNotificationIOS/RCTPushNotificationManager.m
@@ -219,7 +219,7 @@ - (void)handleRemoteNotificationReceived:(NSNotification *)notification
self.remoteNotificationCallbacks[notificationId] = completionHandler;
}
- [self sendEventWithName:@"remoteNotificationReceived" body:notification.userInfo];
+ [self sendEventWithName:@"remoteNotificationReceived" body:remoteNotification];
}
- (void)handleRemoteNotificationsRegistered:(NSNotification *)notification

0 comments on commit df6b8bd

Please sign in to comment.