sentry-react-native: Issues not reported on Android - Error reading envelope
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
SDK:
-
@sentry/react-native
(>= 1.0.0) -
react-native-sentry
(<= 0.43.2)
SDK version: 1.8.2
react-native
version: 0.62.2
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
- sentry.io (SaaS)
- on-premise
Configuration:
Sentry.init({
dsn:
'https://8c898bffadee496387c56f96dccd8595@o455549.ingest.sentry.io/5447240',
debug: true,
})
I have following issue:
Issues are reported on iOS, but I can’t manage to make it work on Android on both debug and release builds.
Steps to reproduce:
- I followed installation guide https://docs.sentry.io/platforms/react-native/ and advanced setup https://docs.sentry.io/platforms/react-native/advanced-setup/
- I created JS errors on purpose, threw error and crashes the app with Sentry.nativeCrash() to test
Actual result:
Nothing is reported on Android while it works as expected on iOS. Sentry.nativeCrash() doesn’t crash the app on Android while it does on iOS. In AS, Logcat shows ‘Error reading envelope’ when I trigger the errors.
Expected result:
Issues should be reported on Android.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 19 (8 by maintainers)
Is there any update on this? It is reproducible on the Pixel 4/a, Android 11
Yes I am also getting this, I have the same RN version and Sentry version as OP.
Further down the log I also get an SSL error?