Browse Source

Merge branch 'master' into 0.8.2

Ben Hsieh 8 years ago
parent
commit
8716ec288c
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      README.md

+ 4
- 4
README.md View File

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)]()
2
 
2
 
3
 A project committed to make file acess and data transfer easier, effiecient for React Native developers.
3
 A project committed to make file acess and data transfer easier, effiecient for React Native developers.
4
 
4
 
7
 - File API supports normal files, Asset files, and CameraRoll files
7
 - File API supports normal files, Asset files, and CameraRoll files
8
 - Native-to-native file manipulation API, reduce JS bridging performance loss
8
 - Native-to-native file manipulation API, reduce JS bridging performance loss
9
 - File stream support for dealing with large file
9
 - 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)
11
 
11
 
12
 ## TOC
12
 ## TOC
13
 * [About](#user-content-about)
13
 * [About](#user-content-about)
61
 ```diff
61
 ```diff
62
 include ':app'      
62
 include ':app'      
63
 + include ':react-native-fetch-blob'                                                                                                  
63
 + 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')                        
65
 ```
65
 ```
66
 
66
 
67
 Add this line to `MainApplication.java`, so that RNFetchBlob package becomes part of react native package.
67
 Add this line to `MainApplication.java`, so that RNFetchBlob package becomes part of react native package.
654
 
654
 
655
 ---
655
 ---
656
 
656
 
657
-**Reduce RCT Bridge Overhead and BASE64 Time**
657
+**Reduce RCT Bridge and BASE64 Overheard**
658
 
658
 
659
 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.
659
 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.
660
 
660