From 61752153b3834244609b8f9faabe935847a6a308 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Thu, 9 Apr 2015 12:29:11 -0700 Subject: [PATCH] Update to support react-native 0.3.10 --- Examples/VideoPlayer/package.json | 4 ++-- RCTVideo.m | 1 - RCTVideoManager.m | 2 ++ README.md | 2 +- package.json | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Examples/VideoPlayer/package.json b/Examples/VideoPlayer/package.json index 53563643..effed242 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.3.4", - "react-native-video": "^0.2.5" + "react-native": "0.3.10", + "react-native-video": "^0.2.6" } } diff --git a/RCTVideo.m b/RCTVideo.m index 0c14c191..0ee84ab4 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -1,6 +1,5 @@ #import "RCTConvert.h" #import "RCTVideo.h" -#import "RCTLog.h" #import "RCTBridgeModule.h" #import "RCTEventDispatcher.h" #import "UIView+React.h" diff --git a/RCTVideoManager.m b/RCTVideoManager.m index 94f6ddd6..ec8c3abe 100644 --- a/RCTVideoManager.m +++ b/RCTVideoManager.m @@ -5,6 +5,8 @@ @implementation RCTVideoManager +RCT_EXPORT_MODULE(); + @synthesize bridge = _bridge; - (UIView *)view diff --git a/README.md b/README.md index 5f23dca7..86d6c0ad 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A