Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Thomas Beverley 2017-03-24 13:35:28 +00:00
commit af97607eaa
4 changed files with 21 additions and 2 deletions

View File

@ -9,7 +9,11 @@
#import "AppDelegate.h" #import "AppDelegate.h"
#if __has_include("RCTRootView.h")
#import "RCTRootView.h"
#else
#import <React/RCTRootView.h> #import <React/RCTRootView.h>
#endif
@implementation AppDelegate @implementation AppDelegate

View File

@ -468,7 +468,7 @@ If `progressDivider` = 0, you will receive all `progressCallback` calls, default
for your project in XCode. for your project in XCode.
### `stopDownload(jobId: number): Promise<void>` ### `stopDownload(jobId: number): void`
Abort the current download job with this ID. The partial file will remain on the filesystem. Abort the current download job with this ID. The partial file will remain on the filesystem.

View File

@ -6,8 +6,17 @@
// Copyright (c) 2015 Johannes Lumpe. All rights reserved. // Copyright (c) 2015 Johannes Lumpe. All rights reserved.
// //
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h> #import <React/RCTBridgeModule.h>
#endif
#if __has_include("RCTLog.h")
#import "RCTLog.h"
#else
#import <React/RCTLog.h> #import <React/RCTLog.h>
#endif
@interface RNFSManager : NSObject <RCTBridgeModule> @interface RNFSManager : NSObject <RCTBridgeModule>

View File

@ -7,11 +7,17 @@
// //
#import "RNFSManager.h" #import "RNFSManager.h"
#import <React/RCTBridge.h>
#import "NSArray+Map.h" #import "NSArray+Map.h"
#import "Downloader.h" #import "Downloader.h"
#import "Uploader.h" #import "Uploader.h"
#if __has_include("RCTEventDispatcher.h")
#import "RCTEventDispatcher.h"
#else
#import <React/RCTEventDispatcher.h> #import <React/RCTEventDispatcher.h>
#endif
#import <CommonCrypto/CommonDigest.h> #import <CommonCrypto/CommonDigest.h>
@interface RNFSManager() @interface RNFSManager()