Update to support react-native 0.3.10
This commit is contained in:
parent
1000266fd3
commit
61752153b3
@ -6,7 +6,7 @@
|
|||||||
"start": "node_modules/react-native/packager/packager.sh"
|
"start": "node_modules/react-native/packager/packager.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react-native": "0.3.4",
|
"react-native": "0.3.10",
|
||||||
"react-native-video": "^0.2.5"
|
"react-native-video": "^0.2.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#import "RCTConvert.h"
|
#import "RCTConvert.h"
|
||||||
#import "RCTVideo.h"
|
#import "RCTVideo.h"
|
||||||
#import "RCTLog.h"
|
|
||||||
#import "RCTBridgeModule.h"
|
#import "RCTBridgeModule.h"
|
||||||
#import "RCTEventDispatcher.h"
|
#import "RCTEventDispatcher.h"
|
||||||
#import "UIView+React.h"
|
#import "UIView+React.h"
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
@implementation RCTVideoManager
|
@implementation RCTVideoManager
|
||||||
|
|
||||||
|
RCT_EXPORT_MODULE();
|
||||||
|
|
||||||
@synthesize bridge = _bridge;
|
@synthesize bridge = _bridge;
|
||||||
|
|
||||||
- (UIView *)view
|
- (UIView *)view
|
||||||
|
@ -5,7 +5,7 @@ A <Video> component for react-native, as seen in
|
|||||||
|
|
||||||
### Add it to your project
|
### 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
|
2. Open your project in XCode, right click on `Libraries` and click `Add
|
||||||
Files to "Your Project Name"` [(Screenshot)](http://url.brentvatne.ca/g9Wp).
|
Files to "Your Project Name"` [(Screenshot)](http://url.brentvatne.ca/g9Wp).
|
||||||
3. Add `libRTCVideo.a` to `Build Phases -> Link Binary With Libraries`
|
3. Add `libRTCVideo.a` to `Build Phases -> Link Binary With Libraries`
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-video",
|
"name": "react-native-video",
|
||||||
"version": "0.2.5",
|
"version": "0.2.6",
|
||||||
"description": "A <Video> element for react-native",
|
"description": "A <Video> element for react-native",
|
||||||
"main": "Video.ios.js",
|
"main": "Video.ios.js",
|
||||||
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
|
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react-native": "^0.3.5"
|
"react-native": "^0.3.10"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user