Using React Native and uploading bundle + sourcemaps but still not getting stack trace

I’m attempting to use React Native and Sentry on my Android app.

I installed the react-native-sentry package and ran react-native link. I have also run the ./gradlew assembleRelease command and verified the bundle + sourcemap have been uploaded.

In my app, I have:


but when I try to fire a test like Sentry.captureException(new Error('Oops!'));
I don’t see the event appear in sentry.

Any ideas?

Enable the debug log level to see what’s going on. It’s impossible to tell this way what would be wrong. Chances are the DSN is incorrect.