React-native-intercom: iOS - Warning: Module IntercomEventEmitter requires main queue setup since it overrides `constantsToExport`

Created on 25 Apr 2018  路  1Comment  路  Source: tinycreative/react-native-intercom

This is a warning you get sometimes during development. AFAIK it doesn't cause a problem, but it is also simple to fix (again, AFAIK).

ss123

You just have to define a method called requiresMainQueueSetup and have it return true in IntercomEventEmitter.

Here is an example:
https://github.com/airbnb/lottie-react-native/pull/226/files

Most helpful comment

I made a pull request for this based on the @aarondail's suggestion. Please merge :)

>All comments

I made a pull request for this based on the @aarondail's suggestion. Please merge :)

Was this page helpful?
0 / 5 - 0 ratings