Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Commit

Permalink
Fix build problem on Xcode < 7.3 #30 #31
Browse files Browse the repository at this point in the history
  • Loading branch information
wkh237 committed Jun 24, 2016
1 parent 386ac02 commit 3fec76a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/ios/RNFetchBlobFS.m
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
else
asciiStr = [asciiStr stringByAppendingFormat:@"%d", val];
}
free(bytePtr);
}
asciiStr = [asciiStr stringByAppendingString:@"]"];
[self.bridge.eventDispatcher
Expand Down
6 changes: 3 additions & 3 deletions src/ios/RNFetchBlobNetwork.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ typedef void(^DataTaskCompletionHander) (NSData * _Nullable resp, NSURLResponse
@property (nonatomic) int expectedBytes;
@property (nonatomic) int receivedBytes;
@property (nullable, nonatomic) NSMutableData * respData;
@property (nullable, nonatomic) RCTResponseSenderBlock callback;
@property (strong, nonatomic) RCTResponseSenderBlock callback;
@property (nullable, nonatomic) RCTBridge * bridge;
@property (nullable, nonatomic) NSDictionary * options;
@property (nullable, nonatomic) RNFetchBlobFS * fileStream;
@property (nullable, nonatomic) CompletionHander fileTaskCompletionHandler;
@property (nullable, nonatomic) DataTaskCompletionHander dataTaskCompletionHandler;
@property (strong, nonatomic) CompletionHander fileTaskCompletionHandler;
@property (strong, nonatomic) DataTaskCompletionHander dataTaskCompletionHandler;
@property (nullable, nonatomic) NSError * error;


Expand Down

0 comments on commit 3fec76a

Please sign in to comment.