question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module RNUnifiedContacts requires main queue setup

See original GitHub issue

Hi

I have got the following yellow box warning:

Module RNUnifiedContacts 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.

RN: 54.2 react-native-unified-contacts: 1.6.2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
paintedbicyclecommented, Mar 17, 2018

Ok, I have re-confirmed this fix. We’re good.

1reaction
paintedbicyclecommented, Mar 16, 2018

Hi @piotrgorecki can you try PR https://github.com/joshuapinter/react-native-unified-contacts/pull/45 and let me know if it fixes it?

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

RNNotificationActions requires a main queue setup #1898
Module RNNotificationActions requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup .
Read more >
RNFetchBlob requires main queue setup - Stack Overflow
Module RNFetchBlob requires main queue setup since it overrides constantsToExport but doesn't implement requiresMainQueueSetup .
Read more >
Native Modules
Implementing + requiresMainQueueSetup ​. If you override - constantsToExport then you should also implement + requiresMainQueueSetup to let React Native know if ...
Read more >
React Native JSI: Part 1 - Getting Started - Notesnook Blog
We are telling React that our module requires setup on Main Queue. We are getting an instance of bridge which we will use...
Read more >
Native iOS Module in React Native using Swift - YouTube
Learn How to create a Native Module in iOS using swift. Complete Courses: React Native: https://bit.ly/3tDRMTdFlutter: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found