Skip to content

Commit

Permalink
Ensure notification payload is passed to completion handler
Browse files Browse the repository at this point in the history
Summary:
Fixes #10863
Closes #10860

Differential Revision: D4175834

Pulled By: hramos

fbshipit-source-id: 5cf317eb675528c647425c70eff939a9db9728fa
  • Loading branch information
npomfret authored and Facebook Github Bot committed Nov 14, 2016
1 parent 24d2bbf commit df6b8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/PushNotificationIOS/RCTPushNotificationManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df6b8bd

Please sign in to comment.