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:
Christopher Chedeau
2015-03-16 19:01:28 -07:00
parent 9b95a896e9
commit 2b66b21c95
12 changed files with 411 additions and 52 deletions

View File

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