Support react-native > 0.40 (#437)
* Support react-native > 0.40 * Bumping major version. Breaking change. * Upgrade example project from 0.33 => 0.40.
This commit is contained in:
committed by
Matt Apperson
parent
9bcf70cbb5
commit
fe6bc4f3df
@@ -1,4 +1,4 @@
|
||||
#import "RCTView.h"
|
||||
#import <React/RCTView.h>
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
#import "AVKit/AVKit.h"
|
||||
#import "UIView+FindUIViewController.h"
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#import "RCTConvert.h"
|
||||
#import <React/RCTConvert.h>
|
||||
#import "RCTVideo.h"
|
||||
#import "RCTBridgeModule.h"
|
||||
#import "RCTEventDispatcher.h"
|
||||
#import "UIView+React.h"
|
||||
#import <React/RCTBridgeModule.h>
|
||||
#import <React/RCTEventDispatcher.h>
|
||||
#import <React/UIView+React.h>
|
||||
|
||||
static NSString *const statusKeyPath = @"status";
|
||||
static NSString *const playbackLikelyToKeepUpKeyPath = @"playbackLikelyToKeepUp";
|
||||
|
@@ -220,8 +220,6 @@
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
||||
"$(SRCROOT)/../../react-native/React/**",
|
||||
"$(SRCROOT)/../node_modules/react-native/React/**",
|
||||
);
|
||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
@@ -236,8 +234,6 @@
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
||||
"$(SRCROOT)/../../react-native/React/**",
|
||||
"$(SRCROOT)/../node_modules/react-native/React/**",
|
||||
);
|
||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#import "RCTViewManager.h"
|
||||
#import <React/RCTViewManager.h>
|
||||
|
||||
@interface RCTVideoManager : RCTViewManager
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#import "RCTVideoManager.h"
|
||||
#import "RCTVideo.h"
|
||||
#import "RCTBridge.h"
|
||||
#import <React/RCTBridge.h>
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
@implementation RCTVideoManager
|
||||
|
Reference in New Issue
Block a user