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.
A project committed to make file acess and data transfer easier, effiecient for React Native developers.
4
4
@@ -7,7 +7,7 @@ A project committed to make file acess and data transfer easier, effiecient for
7
7
- File API supports normal files, Asset files, and CameraRoll files
8
8
- Native-to-native file manipulation API, reduce JS bridging performance loss
9
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
12
## TOC
13
13
*[About](#user-content-about)
@@ -61,7 +61,7 @@ Open `android/settings.gradle`, and add these lines which will app RNFetchBlob A
61
61
```diff
62
62
include ':app'
63
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
67
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
654
654
655
655
---
656
656
657
-
**Reduce RCT Bridge Overhead and BASE64 Time**
657
+
**Reduce RCT Bridge and BASE64 Overheard**
658
658
659
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.
0 commit comments