I’ve followed the different steps in order to set up Sentry logging for my Expo app. It works as long as I use
Sentry.captureException to capture the exceptions. However, I’d like to capture all fatal errors (i.e. those that are displayed in redbox in the Expo client). I especially want to be able to do this in production mode.
Does anyone know how? I’ve tried using the method outlined here using
ErrorUtils, but I can’t seem to use a custom error handler.
Does anyone have any idea on how to achieve this?