mirror of
https://github.com/tappollo/react-native-safari-view.git
synced 2026-04-29 12:25:05 +08:00
react-native >= 0.40.0 (December 2016) compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#import "RCTBridgeModule.h"
|
||||
#import <React/RCTBridgeModule.h>
|
||||
|
||||
@import SafariServices;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
#import "RCTBundleURLProvider.h"
|
||||
#import "RCTRootView.h"
|
||||
#import <React/RCTBundleURLProvider.h>
|
||||
#import <React/RCTRootView.h>
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
|
||||
@@ -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!"
|
||||
|
||||
@@ -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:../.."
|
||||
}
|
||||
}
|
||||
|
||||
2938
examples/SafariViewExample/yarn.lock
Normal file
2938
examples/SafariViewExample/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user