Pārlūkot izejas kodu

Fix ASCII encoding readFile

Ben Hsieh 8 gadus atpakaļ
vecāks
revīzija
07b245abd8
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1
    1
      src/ios/RNFetchBlobFS.m
  2. 1
    1
      src/package.json

+ 1
- 1
src/ios/RNFetchBlobFS.m Parādīt failu

@@ -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 Parādīt failu

@@ -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": {