sentry-react-native: Does not report crashes
OS:
- MacOS
Platform:
- iOS
Output of node -v && npm -v && npm ls --prod --depth=0
v8.10.0
5.6.0
/Users/xxx/projects/yyy
├── apollo-boost@0.1.6
├── aws-sdk@2.273.1
├── babel-cli@6.26.0
├── babel-eslint@8.2.3
├── babel-plugin-syntax-trailing-function-commas@6.22.0
├── babel-plugin-transform-class-constructor-call@6.24.1
├── babel-plugin-transform-do-expressions@6.22.0
├── babel-plugin-transform-exponentiation-operator@6.24.1
├── babel-plugin-transform-export-extensions@6.22.0
├── babel-plugin-transform-function-bind@6.22.0
├── babel-plugin-transform-inline-environment-variables@0.4.3
├── babel-preset-env@1.7.0
├── babel-preset-expo@4.0.0
├── babel-preset-flow@6.23.0
├── date-fns@1.29.0
├── eslint@4.19.1
├── eslint-config-airbnb@16.1.0
├── eslint-config-prettier@2.9.0
├── eslint-plugin-class-property@1.1.0
├── eslint-plugin-flowtype@2.46.3
├── eslint-plugin-import@2.11.0
├── eslint-plugin-jsx-a11y@6.0.3
├── eslint-plugin-prettier@2.6.0
├── eslint-plugin-react@7.7.0
├── ex-react-native-i18n@0.0.4
├── expo@28.0.0
├── flow-bin@0.67.1
├── formik@0.11.11
├── graphql@0.13.2
├── graphql-tag@2.9.2
├── jest-expo@25.0.0
├── lodash@4.17.10
├── prettier@1.13.0
├── react@16.3.1
├── react-apollo@2.1.4
├── react-native@0.55.4 invalid
├── react-native-actionsheet@2.4.2
├── react-native-iap@1.3.1
├── react-native-image-pan-zoom@2.1.5
├── react-native-mime-types@2.2.1
├── react-native-phone-call@1.0.6
├── react-native-scripts@1.13.1
├── react-native-sentry@0.38.2
├── react-native-swiper-flatlist@1.0.7
├── react-navigation@2.4.1
├── react-test-renderer@16.2.0
├── rn-sliding-up-panel@1.2.1
└── yup@0.25.1
Config:
Sentry.config('https://...@sentry.io/...').install()
I have following issue:
Native crashes are not reported. I have a detached expo app, I’m using react-native-sentry
instead of sentry-expo
because it’s detached, I did react-native link react-native-sentry
. Running the app from expo.
When the app crashes on iOS, or when I do Sentry.nativeCrash();
in the simulator, nothing gets reported. Sentry.captureMessage('TEST message');
reports correctly.
It also wan’t reporting crashes before I detached expo, with sentry-expo
.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 6
- Comments: 15 (3 by maintainers)
Any news about this? I am trying Sentry on both ios and android it triggers only when using
Sentry.captureException()
. I am using this with:"react-native": "0.59.0", "react-native-sentry": "^0.42.0",
Same here. As workaround I override the global error handler to include the Sentry log.
Confirm, the same situation. Installed the latest release (0.38.3). Crashes don’t send but custom captured messages are shown in the log.
Sentry.isNativeClientAvailable()
returnsfalse
for Android