|
|
|
|
|
|
1
|
+## New Maintainers
|
|
|
2
|
+
|
|
|
3
|
+We make quite a bit of use of react-native-fetch-blob at Jolt and would like to maintain the project. Feel free to open issues, PRs, etc. here as you would on the original repository. We will be investigating a new npm namespace under which to publish future versions of this library.
|
|
|
4
|
+
|
|
|
5
|
+<br>
|
|
|
6
|
+
|
|
|
7
|
+## About Pull Requests
|
|
|
8
|
+
|
|
|
9
|
+Bugfixes should be applied to the `0.10.9` branch and new features should be applied to the `0.11.0`. Documentation/README updates can be applied directly to `master`.
|
|
|
10
|
+
|
|
|
11
|
+<br>
|
|
|
12
|
+
|
1
|
# react-native-fetch-blob
|
13
|
# react-native-fetch-blob
|
2
|
[](https://github.com/wkh237/react-native-fetch-blob/releases) [](https://www.npmjs.com/package/react-native-fetch-blob)  [](https://github.com/wkh237/react-native-fetch-blob/wiki) []()
|
14
|
[](https://github.com/wkh237/react-native-fetch-blob/releases) [](https://www.npmjs.com/package/react-native-fetch-blob)  [](https://github.com/wkh237/react-native-fetch-blob/wiki) []()
|
3
|
|
15
|
|
|
|
|
|
18
|
* [Installation](#user-content-installation)
|
30
|
* [Installation](#user-content-installation)
|
19
|
* [HTTP Data Transfer](#user-content-http-data-transfer)
|
31
|
* [HTTP Data Transfer](#user-content-http-data-transfer)
|
20
|
* [Regular Request](#user-content-regular-request)
|
32
|
* [Regular Request](#user-content-regular-request)
|
21
|
- * [Download file](#user-content-download-example--fetch-files-that-needs-authorization-token)
|
|
|
|
|
33
|
+ * [Download file](#download-example-fetch-files-that-need-authorization-token)
|
22
|
* [Upload file](#user-content-upload-example--dropbox-files-upload-api)
|
34
|
* [Upload file](#user-content-upload-example--dropbox-files-upload-api)
|
23
|
- * [Multipart/form upload](#user-content-multipartform-data-example--post-form-data-with-file-and-data)
|
|
|
|
|
35
|
+ * [Multipart/form upload](#multipartform-data-example-post-form-data-with-file-and-data)
|
24
|
* [Upload/Download progress](#user-content-uploaddownload-progress)
|
36
|
* [Upload/Download progress](#user-content-uploaddownload-progress)
|
25
|
* [Cancel HTTP request](#user-content-cancel-request)
|
37
|
* [Cancel HTTP request](#user-content-cancel-request)
|
26
|
* [Android Media Scanner, and Download Manager Support](#user-content-android-media-scanner-and-download-manager-support)
|
38
|
* [Android Media Scanner, and Download Manager Support](#user-content-android-media-scanner-and-download-manager-support)
|
|
|
|
|
638
|
console.log('oops', err)
|
650
|
console.log('oops', err)
|
639
|
})
|
651
|
})
|
640
|
ifstream.onEnd(() => {
|
652
|
ifstream.onEnd(() => {
|
641
|
- <Image source={{ uri : 'data:image/png,base64' + data }}
|
|
|
|
|
653
|
+ <Image source={{ uri : 'data:image/png,base64' + data }}/>
|
642
|
})
|
654
|
})
|
643
|
})
|
655
|
})
|
644
|
```
|
656
|
```
|