Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatible with RN > 0.49 #17

Merged
merged 15 commits into from
Jun 2, 2018
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## New Maintainers

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.

<br>

## About Pull Requests

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`.

<br>

# react-native-fetch-blob
[![release](https://img.shields.io/github/release/wkh237/react-native-fetch-blob.svg?style=flat-square)](https://github.com/wkh237/react-native-fetch-blob/releases) [![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) [![](https://img.shields.io/badge/Wiki-Public-brightgreen.svg?style=flat-square)](https://github.com/wkh237/react-native-fetch-blob/wiki) [![npm](https://img.shields.io/npm/l/react-native-fetch-blob.svg?maxAge=2592000&style=flat-square)]()

Expand All @@ -18,9 +30,9 @@ A project committed to making file access and data transfer easier and more effi
* [Installation](#user-content-installation)
* [HTTP Data Transfer](#user-content-http-data-transfer)
* [Regular Request](#user-content-regular-request)
* [Download file](#user-content-download-example--fetch-files-that-needs-authorization-token)
* [Download file](#download-example-fetch-files-that-need-authorization-token)
* [Upload file](#user-content-upload-example--dropbox-files-upload-api)
* [Multipart/form upload](#user-content-multipartform-data-example--post-form-data-with-file-and-data)
* [Multipart/form upload](#multipartform-data-example-post-form-data-with-file-and-data)
* [Upload/Download progress](#user-content-uploaddownload-progress)
* [Cancel HTTP request](#user-content-cancel-request)
* [Android Media Scanner, and Download Manager Support](#user-content-android-media-scanner-and-download-manager-support)
Expand Down Expand Up @@ -636,7 +648,7 @@ RNFetchBlob.fs.readStream(
console.log('oops', err)
})
ifstream.onEnd(() => {
<Image source={{ uri : 'data:image/png,base64' + data }}
<Image source={{ uri : 'data:image/png,base64' + data }}/>
})
})
```
Expand Down
4 changes: 4 additions & 0 deletions ios/RNFetchBlob/RNFetchBlob.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ + (RCTBridge *)getRCTBridge
return rootView.bridge;
}

+ (BOOL)requiresMainQueueSetup {
return NO;
}

RCT_EXPORT_MODULE();

- (id) init {
Expand Down