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

Commit 8716ec2

Browse files
committed
Merge branch 'master' into 0.8.2
2 parents fe2eec5 + 25eccf5 commit 8716ec2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react-native-fetch-blob [![release](https://img.shields.io/github/release/wkh237/react-native-fetch-blob.svg?maxAge=86400&style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) [![npm](https://img.shields.io/npm/v/react-native-fetch-blob.svg?style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg?style=flat-square) [![npm](https://img.shields.io/npm/l/react-native-fetch-blob.svg?maxAge=2592000&style=flat-square)]()
1+
# react-native-fetch-blob [![release](https://img.shields.io/github/release/wkh237/react-native-fetch-blob.svg?style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) [![npm](https://img.shields.io/npm/v/react-native-fetch-blob.svg?style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg?style=flat-square) [![npm](https://img.shields.io/npm/l/react-native-fetch-blob.svg?maxAge=2592000&style=flat-square)]()
22

33
A project committed to make file acess and data transfer easier, effiecient for React Native developers.
44

@@ -7,7 +7,7 @@ A project committed to make file acess and data transfer easier, effiecient for
77
- File API supports normal files, Asset files, and CameraRoll files
88
- Native-to-native file manipulation API, reduce JS bridging performance loss
99
- File stream support for dealing with large file
10-
- Blob, File, XMLHttpRequest polyfills that make browser-based library available in RN
10+
- Blob, File, XMLHttpRequest polyfills that make browser-based library available in RN (experimental)
1111

1212
## TOC
1313
* [About](#user-content-about)
@@ -61,7 +61,7 @@ Open `android/settings.gradle`, and add these lines which will app RNFetchBlob A
6161
```diff
6262
include ':app'
6363
+ include ':react-native-fetch-blob'
64-
+ project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir,' ../node_modules/react-native-fetch-blob/android')
64+
+ project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fetch-blob/android')
6565
```
6666

6767
Add this line to `MainApplication.java`, so that RNFetchBlob package becomes part of react native package.
@@ -654,7 +654,7 @@ After `0.8.0` we've made some [Web API polyfills](https://github.com/wkh237/reac
654654

655655
---
656656

657-
**Reduce RCT Bridge Overhead and BASE64 Time**
657+
**Reduce RCT Bridge and BASE64 Overheard**
658658

659659
React Native connects JS and Native context by passing JSON through React bridge, therefore there will be an overhead to convert data before they sent. When data is large, this will be quite a performance impact to your app, it's recommended to use file storage instead of BASE64 if possible. The following chart shows how much faster when loading data from storage than BASE64 encoded string on iphone 6.
660660

0 commit comments

Comments
 (0)