|
@@ -46,9 +46,9 @@ rnpm link
|
46
|
46
|
|
47
|
47
|
**Grant Permission to External storage for Android 5.0 or lower**
|
48
|
48
|
|
49
|
|
-Mechanism about granting Android permissions has slightly different since Android 6.0 released, please refer to [Officail Document](https://developer.android.com/training/permissions/requesting.html).
|
|
49
|
+Mechanism about granting Android permissions has slightly different since Android 6.0 released, please refer to [Official Document](https://developer.android.com/training/permissions/requesting.html).
|
50
|
50
|
|
51
|
|
-If you're going to access external storage (say, SD card storage) for `Android 5.0` (or lower) devices, you might have to add the following line to `AndroidManifetst.xml`.
|
|
51
|
+If you're going to access external storage (say, SD card storage) for `Android 5.0` (or lower) devices, you might have to add the following line to `AndroidManifest.xml`.
|
52
|
52
|
|
53
|
53
|
```diff
|
54
|
54
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
@@ -110,7 +110,7 @@ RNFetchBlob.fetch('GET', 'http://www.example.com/images/img1.png', {
|
110
|
110
|
|
111
|
111
|
#### Download to storage directly
|
112
|
112
|
|
113
|
|
-The simplest way is give a `fileCach` option to config, and set it to `true`. This will let the incoming response data stored in a temporary path **wihout** any file extension.
|
|
113
|
+The simplest way is give a `fileCache` option to config, and set it to `true`. This will let the incoming response data stored in a temporary path **without** any file extension.
|
114
|
114
|
|
115
|
115
|
**These files won't be removed automatically, please refer to [Cache File Management](#user-content-cache-file-management)**
|
116
|
116
|
|
|
@@ -297,7 +297,7 @@ What if you want to upload a file in some field ? Just like [upload a file from
|
297
|
297
|
|
298
|
298
|
#### Upload/Download progress
|
299
|
299
|
|
300
|
|
-In `version >= 0.4.2` it is possible to know the upload/download progress. On Anroid, only download progress is supported. See [wiki](https://github.com/wkh237/react-native-fetch-blob/wiki/Fetch-API#fetchprogresseventlistenerpromisernfetchblobresponse) for more information.
|
|
300
|
+In `version >= 0.4.2` it is possible to know the upload/download progress. On Android, only download progress is supported. See [wiki](https://github.com/wkh237/react-native-fetch-blob/wiki/Fetch-API#fetchprogresseventlistenerpromisernfetchblobresponse) for more information.
|
301
|
301
|
|
302
|
302
|
```js
|
303
|
303
|
RNFetchBlob.fetch('POST', 'http://www.example.com/upload', {
|