Browse Source

Fix ASCII encoding readFile

Ben Hsieh 8 years ago
parent
commit
07b245abd8
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/ios/RNFetchBlobFS.m
  2. 1
    1
      src/package.json

+ 1
- 1
src/ios/RNFetchBlobFS.m View File

@@ -347,7 +347,7 @@ NSMutableDictionary *fileStreams = nil;
347 347
                     [resultArray addObject:[NSNumber numberWithChar:bytes[i]]];
348 348
                 }
349 349
                 if(resolve != nil)
350
-                    resolve(@[resultArray]);
350
+                    resolve(resultArray);
351 351
             }
352 352
         }];
353 353
     }

+ 1
- 1
src/package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "react-native-fetch-blob",
3
-  "version": "0.8.0-alpha.6",
3
+  "version": "0.8.0",
4 4
   "description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
5 5
   "main": "index.js",
6 6
   "scripts": {