Sentry-react-native: [RN 0.49+] `requiresMainQueueSetup` needed for main queue setup, with constantsToExport

Created on 11 Oct 2017  路  4Comments  路  Source: getsentry/sentry-react-native

OS:

  • [ ] MacOS

_Platform:_

  • [ ] iOS

Console warning:

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

Same for RNSentryEventEmitter

screenshot 2017-10-10 22 18 15

react-native info:

Environment:
  OS:  macOS Sierra 10.12.6
  Node:  8.6.0
  Yarn:  1.2.0
  npm:  5.3.0
  Watchman:  4.9.0
  Xcode:  Xcode 9.0 Build version 9A235
  Android Studio:  Not Found

Packages: (wanted => installed)
  react: 16.0.0-beta.5 => 16.0.0-beta.5
  react-native: 0.49.3 => 0.49.3

Reference PR for fix

https://github.com/wix/react-native-navigation/pull/1983/files#diff-b8c48202d12fa78c4c377e5a3225c298

Most helpful comment

Hey, I will release an update for this today 馃憤
Thx for your help.

All 4 comments

Thanks for reporting this, I will look into it.

Hey, I will release an update for this today 馃憤
Thx for your help.

I've just released 0.28.0 which fixes this issue.

Was this page helpful?
0 / 5 - 0 ratings