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

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wkh237 committed Feb 1, 2017
2 parents 55d4ccf + 37f7f97 commit d702708
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ RNFetchBlob
fileCache : true,
})
.fetch('GET', 'http://www.example.com/file/example.zip', {
some headers ..
//some headers ..
})
.then((res) => {
// the temp file path
Expand All @@ -224,7 +224,7 @@ RNFetchBlob
appendExt : 'png'
})
.fetch('GET', 'http://www.example.com/file/example.zip', {
some headers ..
//some headers ..
})
.then((res) => {
// the temp file path with file extension `png`
Expand Down Expand Up @@ -387,7 +387,7 @@ In `version >= 0.4.2` it is possible to know the upload/download progress. After

```js
RNFetchBlob.fetch('POST', 'http://www.example.com/upload', {
... some headers,
//... some headers,
'Content-Type' : 'octet-stream'
}, base64DataString)
// listen to upload progress event
Expand All @@ -411,7 +411,7 @@ In `0.9.6`, you can specify an object as first argument which contains `count` a

```js
RNFetchBlob.fetch('POST', 'http://www.example.com/upload', {
... some headers,
//... some headers,
'Content-Type' : 'octet-stream'
}, base64DataString)
// listen to upload progress event, emit every 250ms
Expand Down Expand Up @@ -491,7 +491,7 @@ When using DownloadManager, `fileCache` and `path` properties in `config` will n
```js
RNFetchBlob
.config({
addAdnroidDownloads : {
addAndroidDownloads : {
useDownloadManager : true, // <-- this is the only thing required
// Optional, override notification setting (default to true)
notification : false,
Expand Down Expand Up @@ -530,7 +530,7 @@ RNFetchBlob.config({
description : 'An image file.',
mime : 'image/png',
// Make the file scannable by media scanner
meidaScannable : true,
mediaScannable : true,
}
})
.fetch('GET', 'http://example.com/image1.png')
Expand Down

0 comments on commit d702708

Please sign in to comment.