You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+36-2Lines changed: 36 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ A project committed to make file acess and data transfer easier, effiecient for
9
9
- File stream support for dealing with large file
10
10
- Blob, File, XMLHttpRequest polyfills that make browser-based library available in RN (experimental)
11
11
12
+
12
13
## TOC
13
14
*[About](#user-content-about)
14
15
*[Installation](#user-content-installation)
@@ -38,6 +39,7 @@ This project was initially for solving the issue [facebook/react-native#854](htt
38
39
39
40
In `0.8.0` we introduced experimential Web API polyfills that make it possible to use browser-based libraries in React Native, for example, [FireBase JS SDK](https://github.com/wkh237/rn-firebase-storage-upload-sample)
40
41
42
+
41
43
## Installation
42
44
43
45
Install package from npm
@@ -493,6 +495,38 @@ RNFetchBlob.config({
493
495
.then(...)
494
496
```
495
497
498
+
**Open Downloaded File with Intent**
499
+
500
+
This is a new feature added in `0.9.0`, if you're going to open a file path using official [Linking](https://facebook.github.io/react-native/docs/linking.html) API that might not work as expected, also, if you're going to install an APK in `Downloads` app, that will not work too. As an alternative, you can try `actionViewIntent` API, which will send an ACTION_VIEW intent for you which uses the given `MIME` type.
After `0.8.0` we've made some [Web API polyfills](https://github.com/wkh237/react-native-fetch-blob/wiki/Web-API-Polyfills-(work-in-progress)) that makes some browser-based library available in RN.
682
+
After `0.8.0` we've made some [Web API polyfills](https://github.com/wkh237/react-native-fetch-blob/wiki/Web-API-Polyfills-(experimental)) that makes some browser-based library available in RN.
649
683
650
684
- Blob
651
685
- XMLHttpRequest (Use our implementation if you're going to use it with Blob)
@@ -676,7 +710,7 @@ If you're going to concatenate files, you don't have to read the data to JS cont
| 0.9.0| Fix unicode response data format issue #73. Improve Android performance by using thread pool instead of async task. Add Fetch replacement #70. Add Android only API `actionViewIntent` to open file or install APK in app|
680
714
| 0.8.1 | Remove Web API log and fix ios progress report function. |
681
715
| 0.8.0 | Added Web API polyfills, support regular request, added timeout option. |
682
716
| 0.7.5 | Fix installation script that make it compatible to react-native < 0.28 |
0 commit comments