Skip to content

Commit

Permalink
Merge pull request #17 from alzalabany/patch-2
Browse files Browse the repository at this point in the history
compatible with RN > 0.49
  • Loading branch information
Traviskn authored Jun 2, 2018
2 parents 0410466 + 2599ae4 commit 614ef56
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
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 @@ -638,7 +650,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;
}

This comment has been minimized.

Copy link
@jnrepo

jnrepo Jun 4, 2018

this is declared twice in this file and will throw an error

error: duplicate declaration of method 'requiresMainQueueSetup'

RCT_EXPORT_MODULE();

- (id) init {
Expand Down

0 comments on commit 614ef56

Please sign in to comment.