-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raven-js "swallow" React Native js error redbox #488
Comments
I imagine you'll want to only install raven when not in dev mode. e.g. in index.XXX.js
Seems like the Raven documentation should be updated to reflect this. |
Okay. I haven't yet experimented w/ React Native on Android. Was this on a real device, or using an emulator?
It should work in development, but I'd probably create a different Project for development so that your development errors don't mingle with your production ones. |
@mattmo Thanks for the workaround. @benvinegar It was on an genymotion simulator. Would give it a try on real device and update here. |
Sentry now has a first-class React Native plugin that combines both JavaScript and native (iOS) frames in stack traces. Closing this issue. |
The 'redbox' would not show up and also no error message would be logged to Android Studio console if Raven is configured in the index.android.js file. Or is it recommended to comment out Raven/Sentry code during development ?
The text was updated successfully, but these errors were encountered: