sentry-react-native: No errors reported
We’re using an on premise install (8.14.1) and I’m trying to setup react-native-sentry
I’ve configured according to the docs and everything seems to build and run fine, but no errors actually show up. I’m testing from the Simulator and manually throwing an error from the root component on mount.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 42 (15 by maintainers)
+1 Nothing is reported on the sentry dashboard with debug/release build.
@HazAT please add full manual instruction for iOS & Android it will be useful 😉
For everyone who has the same issue that on Android crashes/JS errors war not reported:
It works when I disable the native integration for Android
@samuelchvez Is it only on Android? Please make sure your
MainApplication.java
looks something like this:Is there reason why android’s native integration doesn’t work and when this will be fixed?
@HazAT hello, thank you for the effort and work on this library.
I have a similar issue as the guys above:
captureMessage
gets registeredreact-native log-android
) when I place the logLevel verbose configuration.Best regards!
@CoreyAR There is a fix on the way for this. https://github.com/getsentry/react-native-sentry/pull/371
Hello guys,
I’m currently doing the same as @nicinabox , and having the same result so far.
Only
captureMessage
does send an error to Sentry, butnativeCrash
or a simplethrow
do nothing.EDIT: I tested with an iOS app built in production settings through Hockey App, and a
throw
is indeed catched by Sentry