React-native-fetch-blob: Warning on react-native 0.49.x

Created on 7 Oct 2017  路  14Comments  路  Source: wkh237/react-native-fetch-blob

I get this warning:

Module RNFetchBlob requires main queue setup since it overrides `constantsToExport` but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

can be fixed similar to this: https://github.com/wix/react-native-navigation/pull/1983/files

Most helpful comment

Hi Guys, you can ignore this type of warning using the YellowBox module:

import { YellowBox } from 'react-native';

// React native 0.55.4 is currently migrating to a new React API.
// Some warnings are expected in this version.
YellowBox.ignoreWarnings([
    'Warning: isMounted(...) is deprecated',
    'Module RCTImageLoader requires main queue setup',
    'Module RNFetchBlob requires main queue setup',
]);

All 14 comments

same here +1

@jbrodriguez is there a PR to get this fix merged into the repo?

PR created, see ~#674~ (repo moved) https://github.com/joltup/react-native-fetch-blob/pull/10

Also seeing this warning.

Hi Guys, you can ignore this type of warning using the YellowBox module:

import { YellowBox } from 'react-native';

// React native 0.55.4 is currently migrating to a new React API.
// Some warnings are expected in this version.
YellowBox.ignoreWarnings([
    'Warning: isMounted(...) is deprecated',
    'Module RCTImageLoader requires main queue setup',
    'Module RNFetchBlob requires main queue setup',
]);

Module RNFetchBlob requires main queue setup since it overrides constantsToExport but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
this is bothering !

And? What about fix this issue?

@Dictory we already have a fix to this on master: https://github.com/facebook/react-native/issues/17504

@francaracuel Hello. Hm, i use rn v 0.55.4 and catch this warning

"react-native": "0.56.0" and I keep seeing the warning but with module RNGoogleSignin

Having this warning also...

just started getting this warning on upgrade to 0.56.0

solution: https://stackoverflow.com/a/51352132

and now I have no any issues

Was this page helpful?
0 / 5 - 0 ratings