react-native-fetch-blob icon indicating copy to clipboard operation
react-native-fetch-blob copied to clipboard

Warning on react-native 0.49.x

Open macrozone opened this issue 6 years ago • 14 comments

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

macrozone avatar Oct 07 '17 16:10 macrozone

same here +1

eugenehp avatar Oct 15 '17 23:10 eugenehp

You can also check https://github.com/Microsoft/react-native-code-push/pull/1035/files

jbrodriguez avatar Oct 19 '17 17:10 jbrodriguez

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

dallen4 avatar Jan 18 '18 18:01 dallen4

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

klaasman avatar Mar 07 '18 08:03 klaasman

Also seeing this warning.

isaachinman avatar Mar 28 '18 08:03 isaachinman

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',
]);

wedneyyuri avatar May 20 '18 17:05 wedneyyuri

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 !

IamMasterWayne avatar May 30 '18 23:05 IamMasterWayne

And? What about fix this issue?

eseQ avatar Jun 21 '18 10:06 eseQ

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

franjbeltran avatar Jun 25 '18 06:06 franjbeltran

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

eseQ avatar Jun 25 '18 06:06 eseQ

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

sturmenta avatar Jul 12 '18 21:07 sturmenta

Having this warning also...

bwoodlt avatar Jul 15 '18 13:07 bwoodlt

just started getting this warning on upgrade to 0.56.0

anaerobic avatar Aug 10 '18 03:08 anaerobic

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

and now I have no any issues

lvtz avatar Aug 21 '18 09:08 lvtz