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-14 11:24:07 -08:00 committed by Facebook Github Bot
parent 24d2bbfbab
commit df6b8bd832
1 changed files with 1 additions and 1 deletions

View File

@ -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