mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Updates from Mon 16 Mar
- [ReactNative] Share same server port for debugger proxy | Alex Kotliarskyi - [react-packager] small fixes to image loader | Amjad Masad - [ReactNative] NetworkInformation.reachability API w/ example | Eric Vicenti - [ReactNative] Put launchOptions in RCTPushNotificationManager | Andrew Rasmussen - [ReactNative] Improve PixelRatio documentation | Christopher Chedeau
This commit is contained in:
@@ -15,12 +15,10 @@ function renderApplication(RootComponent, initialProps, rootTag) {
|
||||
rootTag,
|
||||
'Expect to have a valid rootTag, instead got ', rootTag
|
||||
);
|
||||
var pushNotification = initialProps.launchOptions &&
|
||||
initialProps.launchOptions.remoteNotification &&
|
||||
new PushNotificationIOS(initialProps.launchOptions.remoteNotification);
|
||||
var initialNotification = PushNotificationIOS.popInitialNotification();
|
||||
React.render(
|
||||
<RootComponent
|
||||
pushNotification={pushNotification}
|
||||
pushNotification={initialNotification}
|
||||
{...initialProps}
|
||||
/>,
|
||||
rootTag
|
||||
|
||||
Reference in New Issue
Block a user