You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console: false,// If this in enabled it causes problems to native calls on >= RN 0.60
We just upgraded as part of our upgrade to 0.61+ and losing this is a pretty big deal for us as customers of Sentry.
Is there a plan to address / fix whatever breakage required hard-disabling these across the board? If not, can you provide some more detail / context here around how we might investigate / try to workaround this ourselves?
I understand it may not be entirely on the Sentry side of things that the breakage occurred, but it would still be helpful in that case to understand what issue(s) you've filed with the React Native core project and what we should expect here going forwards.
Thanks!
Steps to reproduce:
Upgrade to latest @sentry/react-native from previous react-native-sentry.
Actual result:
Console breadcrumbs are no longer logged.
Expected result:
Console breadcrumbs should continue to be logged as they were previously.
The text was updated successfully, but these errors were encountered:
@HazAT
Thanks for adding the labels to this - I was wondering if you might be able to provide any additional context to how re-enabling this feature / functionality is currently prioritized on your backlog and what the expected scope is / what the nature of the issue is?
It'd be helpful as we're evaluating Sentry alternatives to know if this is going to be addressed soon or if it is still not formally on the short- / medium-term roadmap.
We found it was better to create our own Logger and use that to handle the necessary Sentry calls. Using your own logger, instead of console.log is also going to be more flexible long term.
Here's a gist with the logger we use to avoid red screen on development and create necessary breadcrumbs via regular logging.
OS:
Platform:
SDK:
@sentry/react-native
react-native-sentry
react-native
version: 0.61.1Init Code:
It appears that console breadcrumbs were intentionally disabled in the run-up to the 1.0.0 release:
sentry-react-native/src/js/sdk.ts
Line 43 in cc98798
We just upgraded as part of our upgrade to 0.61+ and losing this is a pretty big deal for us as customers of Sentry.
Is there a plan to address / fix whatever breakage required hard-disabling these across the board? If not, can you provide some more detail / context here around how we might investigate / try to workaround this ourselves?
I understand it may not be entirely on the Sentry side of things that the breakage occurred, but it would still be helpful in that case to understand what issue(s) you've filed with the React Native core project and what we should expect here going forwards.
Thanks!
Steps to reproduce:
Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: