react-native-fetch-blob
react-native-fetch-blob copied to clipboard
Warning on react-native 0.49.x
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
same here +1
You can also check https://github.com/Microsoft/react-native-code-push/pull/1035/files
@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