ios warning: UI API called on a background thread #396
Comments
Thanks for the report, @idanhaviv. What was in the log message? As far as I can tell, bugsnag-react-native does not call UI methods. |
hey @kattrali, this is a screenshot of Xcode log |
Ah, I see. This seems to be a side effect of expecting initialization to take place on the main thread. The library should handle and warn you in this case, but to work around it, can you configure |
Can you give specific instructions for this? |
@kattrali |
@chipqcl @idanhaviv There are instructions available in our documentation here: https://docs.bugsnag.com/platforms/react-native/react-native/enhanced-native-integration/#ios-native-installation. Let us know if you have further questions. |
adding the api key in info.plist in addition to [BugsnagReactNative start] solved it. |
Thanks, that worked. |
Fixed in v2.23.2, so the workaround of calling |
Description
running on iPhone X ios 12.2 in debug from Xcode logs a Main Thread Checker warning in Xcode logs
Environment
Library versions:
cocoapods version 1.6.1
iOS version: 12.2
physical device
debug mode
(iOS only)
[BugsnagReactNative start]
is present in theapplication:didFinishLaunchingWithOptions:
method in yourAppDelegate
class? - no
The text was updated successfully, but these errors were encountered: