Can sentry-expo report crashes from native code for ExpoKit apps?

#1

I enabled Sentry on my ExpoKit app (using the directions in the docs- didn’t seem any different from a non-detached app), and it’s reporting crashes originating from JavaScript code exceptions like a champ. However, we had a crash on Android that appeared to be coming from somewhere over-the-bridge (from one of the native classes for Expo.Svg) and it wasn’t reported. I was googling around in docs for react-native-sentry and saw something about patching MainApplication.java to enable Sentry. I didn’t see anything like that already in the MainApplication.java that is generated when detaching. Knowing those are already customized for Expo/ ExpoKit, wanted to check if I should expect these kind of errors to be reported without any further modification or not.

Thank you!

0 Likes

Can Sentry report crashes from native code in expo?
closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

0 Likes