Bladeren bron

Fix ASCII encoding readFile

Ben Hsieh 8 jaren geleden
bovenliggende
commit
07b245abd8
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1
    1
      src/ios/RNFetchBlobFS.m
  2. 1
    1
      src/package.json

+ 1
- 1
src/ios/RNFetchBlobFS.m Bestand weergeven

@@ -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 Bestand weergeven

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