Commit ce29c1f8 authored by Brent Vatne's avatar Brent Vatne
Browse files

Update example project to v0.16.0-rc

parent 804717e0
Loading
Loading
Loading
Loading
+2 −1
Changes for Examples/VideoPlayer/iOS/AppDelegate.m: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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];
+7 −0
Changes for Examples/VideoPlayer/iOS/Info.plist: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -20,8 +20,15 @@
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>1</string>
	<key>LSApplicationCategoryType</key>
	<string></string>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>
	<key>UILaunchStoryboardName</key>
	<string>LaunchScreen</string>
	<key>UIRequiredDeviceCapabilities</key>
+2 −2
Changes for Examples/VideoPlayer/package.json: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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"
  }
}