Skip to content
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

requiresMainQueueSetup #2

Open
mBarlescu opened this issue Jul 14, 2022 · 2 comments
Open

requiresMainQueueSetup #2

mBarlescu opened this issue Jul 14, 2022 · 2 comments

Comments

@mBarlescu
Copy link

WARN Module AndroidNavbarHeight requires main queue setup since it overrides init 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.

@DaveLomber
Copy link
Contributor

@mBarlescu thanks for pointing this out

Never seen this before

If you could point to the exact place where it should be added or - even better - create a PR - will be much appreciated

@ahnafnafee
Copy link

Another RN package had a similar issue and needed to add it to the packages' root .m file like so: https://github.com/christopherdro/react-native-print/pull/61/files

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

No branches or pull requests

3 participants