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

Update to support react-native 0.3.10

parent 1000266f
Loading
Loading
Loading
Loading
+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.3.4",
    "react-native-video": "^0.2.5"
    "react-native": "0.3.10",
    "react-native-video": "^0.2.6"
  }
}
+0 −1
Changes for RCTVideo.m: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
#import "RCTConvert.h"
#import "RCTVideo.h"
#import "RCTLog.h"
#import "RCTBridgeModule.h"
#import "RCTEventDispatcher.h"
#import "UIView+React.h"
+2 −0
Changes for RCTVideoManager.m: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@

@implementation RCTVideoManager

RCT_EXPORT_MODULE();

@synthesize bridge = _bridge;

- (UIView *)view
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ A <Video> component for react-native, as seen in

### Add it to your project

1. Run `npm install react-native-video --save`
1. Run `npm install react-native-video --save` **(must be 0.3.10 or higher)**
2. Open your project in XCode, right click on `Libraries` and click `Add
   Files to "Your Project Name"` [(Screenshot)](http://url.brentvatne.ca/g9Wp).
3. Add `libRTCVideo.a` to `Build Phases -> Link Binary With Libraries`
+2 −2
Changes for package.json: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
{
  "name": "react-native-video",
  "version": "0.2.5",
  "version": "0.2.6",
  "description": "A <Video> element for react-native",
  "main": "Video.ios.js",
  "author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
  "dependencies": {
    "react-native": "^0.3.5"
    "react-native": "^0.3.10"
  },
  "repository": {
    "type": "git",