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.javalooks 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:
captureMessagegets 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
captureMessagedoes send an error to Sentry, butnativeCrashor a simplethrowdo nothing.EDIT: I tested with an iOS app built in production settings through Hockey App, and a
throwis indeed catched by Sentry