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

Commit 07b245a

Browse files
committed
Fix ASCII encoding readFile
1 parent 83b7870 commit 07b245a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ios/RNFetchBlobFS.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ + (void) readFile:(NSString *)path encoding:(NSString *)encoding
347347
[resultArray addObject:[NSNumber numberWithChar:bytes[i]]];
348348
}
349349
if(resolve != nil)
350-
resolve(@[resultArray]);
350+
resolve(resultArray);
351351
}
352352
}];
353353
}

src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-fetch-blob",
3-
"version": "0.8.0-alpha.6",
3+
"version": "0.8.0",
44
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)