Loading Examples/VideoPlayer/iOS/AppDelegate.m +2 −1 Changes for Examples/VideoPlayer/iOS/AppDelegate.m: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -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 Loading @@ -38,6 +38,7 @@ RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@"VideoPlayer" initialProperties: nil launchOptions:launchOptions]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; Loading Examples/VideoPlayer/iOS/Info.plist +7 −0 Changes for Examples/VideoPlayer/iOS/Info.plist: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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> Loading Examples/VideoPlayer/package.json +2 −2 Changes for Examples/VideoPlayer/package.json: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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" } } Loading
Examples/VideoPlayer/iOS/AppDelegate.m +2 −1 Changes for Examples/VideoPlayer/iOS/AppDelegate.m: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -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 Loading @@ -38,6 +38,7 @@ RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@"VideoPlayer" initialProperties: nil launchOptions:launchOptions]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; Loading
Examples/VideoPlayer/iOS/Info.plist +7 −0 Changes for Examples/VideoPlayer/iOS/Info.plist: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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> Loading
Examples/VideoPlayer/package.json +2 −2 Changes for Examples/VideoPlayer/package.json: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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" } }