-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[RN 0.52] RCTImageLoader requires main queue setup since it overrides init
but doesn't implement requiresMainQueueSetup
#17504
Comments
For me, it doesn't show any warning in the simulator but appears as a warning in the browser console. RN Version: 0.53.3 |
PR #17679 is an attempt to fix this. |
Started getting this in 0.54.0, is there a way to actually disable the warning? This doesn't seem to work: YellowBox.ignoreWarnings([ |
because the warning has no "warning: " prefix. Take that out in your ignore |
can we merge this soon ? |
Merged |
This comment has been minimized.
This comment has been minimized.
It'll be included in RN 0.56 I take it? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
It should be in the next minor (0.56.0), the patch updates(x.x.patch) only fix errors found in the latest minor afaik. |
This comment has been minimized.
This comment has been minimized.
It’s merged into master but it’s not released in a version as yet |
Thanks for the quick reply @iRoachie ! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There has been no major release as yet guys. Please stop saying it’s still showing. @hramos can you lock this thread ? |
Fix is in master. You may build React Native from source to take advantage of the fix. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Steps to Reproduce
$ react-native run-ios
Expected Behavior
iOS simulator run without errors.
Actual Behavior
^
Reproducible Demo
Any app using the Image component, although in my app I wrap that in a higher level component I use:
react-native-fit-image
.I've never seen
RCTImageLoader
complain aboutrequiresMainQueueSetup
before. Only started now after I upgraded RN from 0.51 to 0.52.The text was updated successfully, but these errors were encountered: