Test Sentry in Development mode (React Native+Expo)

Hey all,

I’m building a React Native app using Expo, and would love to use Sentry as my Crash Reporting tool. I’ve followed the setup guide at https://docs.expo.io/versions/v18.0.0/guides/using-sentry.html , and I expect it works - except that on app startup, the following log statement shows:

Automatically skipping Sentry initialization in development

How can I test Sentry crashes, events etc in development mode?


I tried publishing with Expo, and the crash reporting works fine - but is there any way to enable it during development for debugging of breadcrumb trails / state reporting?

This response is a few months late but I had this question too. You can add the following line to enable Sentry in development:

Sentry.enableInExpoDevelopment = true;