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

Fix for #183 #688

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Fix for #183 #688

merged 1 commit into from
Feb 23, 2022

Conversation

alexnaiman
Copy link

Fixing #183

Removed all the requiring cycles by changing all to use directly the NativeModules

Thanks to #183 (comment)

@brian-perlego
Copy link

Any update on approving the PR ?

@@ -2,12 +2,13 @@
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.

import RNFetchBlob from '../index.js'
import {NativeModules} from 'react-native';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider having module in polyfill/RNFetchBlob.js:

import { NativeModules } from 'react-native';

const RNFetchBlob = NativeModules.RNFetchBlob

export default RNFetchBlob;

Seems like trivial module but allows to have single shared source.

@zabojad
Copy link

zabojad commented Jan 19, 2021

Hi there! If everything is OK, could be great to merge it really...

DarkLink363 added a commit to DarkLink363/rn-fetch-blob that referenced this pull request Apr 12, 2021
Removed all the requiring cycles by changing all to use directly the NativeModules
@penghouho
Copy link

Anything else we need to get this merge? thanks

@peanudge
Copy link

Please merge this pr~ 🥲. I don`t want to see warning about it.

@rpenfold rpenfold merged commit cc54ea9 into joltup:master Feb 23, 2022
@clintisgoodboy
Copy link

Please merge this pr~ 🥲. I don`t want to see warning about it.

@rpenfold
Copy link

This PR has already been merged to master. It hasn't yet been published to NPM; we're working on that. In the meantime you can point your package.json entry to the git commit or wait for the next package version. I'm hoping to publish a beta version in the next week or so that will contain this change and many others that have recently been merged.

@hipages-ligang
Copy link

Haven't publish to NPM?

@rpenfold
Copy link

rpenfold commented Jun 7, 2022

Yeah, I apologize for the delay. It took a while to get the appropriate permissions and sort out a few things. I just published rn-fetch-blob@0.13.0-beta.1 as a beta package to NPM. Unfortunately, at the moment we are not particularly well-equipped to test thoroughly ourselves, so upgrade at your own risk. We intend to begin testing it internally with our software, but those tests should not be considered comprehensive.

Since inheriting this project, I am not familiar with testing strategies that have been used in the past. I'll continue to look into this and other solutions to enhance testability. Unfortunately, I don't have a lot of time to dedicate to this but I'm hoping to at least begin to regain some momentum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet