Skip to content

Implement requiresMainQueueSetup to remove warning in RN 0.49 #371

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

Merged
merged 1 commit into from
Oct 29, 2017

Conversation

mars-lan
Copy link
Contributor

Here's the warning message removed

[warn][tid:main][RCTModuleData.mm:69] Module RNFSManager 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.

@itinance itinance merged commit 75a8c44 into itinance:master Oct 29, 2017
@itinance
Copy link
Owner

thank you!

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.

2 participants