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:
npomfret
2016-11-22 22:04:23 -08:00
committed by Mike Grabowski
parent 9de1d4f2dd
commit 9661d726d3
@@ -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