mirror of
https://github.com/status-im/react-native-fs.git
synced 2026-08-27 10:01:09 +00:00
* change imports for react-native 0.39.x * change imports for react-native 0.40.x * order of imports matter * Fix multiple import problem
This commit is contained in:
committed by
Ben Clayton
parent
ff93403bf9
commit
55dd2a7624
@@ -9,7 +9,11 @@
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
#if __has_include("RCTRootView.h")
|
||||
#import "RCTRootView.h"
|
||||
#else
|
||||
#import <React/RCTRootView.h>
|
||||
#endif
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
|
||||
@@ -6,8 +6,17 @@
|
||||
// Copyright (c) 2015 Johannes Lumpe. All rights reserved.
|
||||
//
|
||||
|
||||
#if __has_include("RCTBridgeModule.h")
|
||||
#import "RCTBridgeModule.h"
|
||||
#else
|
||||
#import <React/RCTBridgeModule.h>
|
||||
#endif
|
||||
|
||||
#if __has_include("RCTLog.h")
|
||||
#import "RCTLog.h"
|
||||
#else
|
||||
#import <React/RCTLog.h>
|
||||
#endif
|
||||
|
||||
@interface RNFSManager : NSObject <RCTBridgeModule>
|
||||
|
||||
|
||||
+7
-1
@@ -7,11 +7,17 @@
|
||||
//
|
||||
|
||||
#import "RNFSManager.h"
|
||||
#import <React/RCTBridge.h>
|
||||
|
||||
#import "NSArray+Map.h"
|
||||
#import "Downloader.h"
|
||||
#import "Uploader.h"
|
||||
|
||||
#if __has_include("RCTEventDispatcher.h")
|
||||
#import "RCTEventDispatcher.h"
|
||||
#else
|
||||
#import <React/RCTEventDispatcher.h>
|
||||
#endif
|
||||
|
||||
#import <CommonCrypto/CommonDigest.h>
|
||||
|
||||
@interface RNFSManager()
|
||||
|
||||
Reference in New Issue
Block a user