react-native-android-navbar-height icon indicating copy to clipboard operation
react-native-android-navbar-height copied to clipboard

requiresMainQueueSetup

Open mBarlescu opened this issue 2 years ago • 2 comments

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.

mBarlescu avatar Jul 14 '22 00:07 mBarlescu

@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

DaveLomber avatar Jul 14 '22 08:07 DaveLomber

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

ahnafnafee avatar Oct 04 '22 22:10 ahnafnafee