From ce29c1f8a4eaceddbae2beacb206371b41f5c509 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Sun, 6 Dec 2015 22:02:09 -0800 Subject: [PATCH] Update example project to v0.16.0-rc --- Examples/VideoPlayer/iOS/AppDelegate.m | 3 ++- Examples/VideoPlayer/iOS/Info.plist | 7 +++++++ Examples/VideoPlayer/package.json | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Examples/VideoPlayer/iOS/AppDelegate.m b/Examples/VideoPlayer/iOS/AppDelegate.m index 3f7fb409..74dbce6d 100644 --- a/Examples/VideoPlayer/iOS/AppDelegate.m +++ b/Examples/VideoPlayer/iOS/AppDelegate.m @@ -26,7 +26,7 @@ // // To run on device, change `localhost` to the IP address of your computer, and make sure your computer and // iOS device are on the same Wi-Fi network. - jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle"]; + jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"]; // OPTION 2 // Load from pre-bundled file on disk. To re-generate the static bundle, run @@ -38,6 +38,7 @@ RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@"VideoPlayer" + initialProperties: nil launchOptions:launchOptions]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; diff --git a/Examples/VideoPlayer/iOS/Info.plist b/Examples/VideoPlayer/iOS/Info.plist index c6d2494c..e4b8e7c8 100644 --- a/Examples/VideoPlayer/iOS/Info.plist +++ b/Examples/VideoPlayer/iOS/Info.plist @@ -20,8 +20,15 @@ ???? CFBundleVersion 1 + LSApplicationCategoryType + LSRequiresIPhoneOS + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + UILaunchStoryboardName LaunchScreen UIRequiredDeviceCapabilities diff --git a/Examples/VideoPlayer/package.json b/Examples/VideoPlayer/package.json index 8afbe365..a4a067c1 100644 --- a/Examples/VideoPlayer/package.json +++ b/Examples/VideoPlayer/package.json @@ -6,7 +6,7 @@ "start": "node_modules/react-native/packager/packager.sh" }, "dependencies": { - "react-native": "^0.10.0-rc", - "react-native-video": "^0.6.0" + "react-native": "^0.16.0-rc", + "react-native-video": "^0.6.1" } }