react-native >= 0.40.0 (December 2016) compatibility

This commit is contained in:
Christoph Geschwind
2017-01-06 11:26:10 +01:00
parent c4f5fa56fd
commit a48010ae1d
6 changed files with 2950 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
#import "RCTBridgeModule.h"
#import <React/RCTBridgeModule.h>
@import SafariServices;

View File

@@ -1,9 +1,9 @@
#import "SafariViewManager.h"
#import "RCTUtils.h"
#import "RCTLog.h"
#import "RCTConvert.h"
#import "RCTEventDispatcher.h"
#import <React/RCTUtils.h>
#import <React/RCTLog.h>
#import <React/RCTConvert.h>
#import <React/RCTEventDispatcher.h>
@implementation SafariViewManager
@synthesize bridge = _bridge;

View File

@@ -9,8 +9,8 @@
#import "AppDelegate.h"
#import "RCTBundleURLProvider.h"
#import "RCTRootView.h"
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
@implementation AppDelegate

View File

@@ -10,8 +10,8 @@
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
#import "RCTLog.h"
#import "RCTRootView.h"
#import <React/RCTLog.h>
#import <React/RCTRootView.h>
#define TIMEOUT_SECONDS 600
#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"

View File

@@ -6,8 +6,8 @@
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"react": "^15.1.0",
"react-native": "0.34.0",
"react-native-safari-view": "../.."
"react": "^15.4.2",
"react-native": "^0.40.0",
"react-native-safari-view": "file:../.."
}
}

File diff suppressed because it is too large Load Diff