Anr

Capture events when the event loop is blocked and the application is no longer responding.

Import name: Sentry.anrIntegration

The anrIntegration captures Application Not Responding (ANR)/Event Loop Stall errors and reports them as Sentry events. For more details, see the documentation on ANR.

Copied
Sentry.init({
  integrations: [Sentry.anrIntegration({ captureStackTrace: true })],
});
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").