Integrations
Learn about the integrations available in the Sentry React Native SDK, including default, optional, and platform-specific integrations.
The Sentry React Native SDK includes many integrations that are enabled by default, as well as optional ones you can add for additional functionality.
These integrations are enabled automatically when you call Sentry.init(). They handle error capturing, context enrichment, and event processing. See Default Integrations for the full list and configuration options.
- Error Boundary — captures React render errors with
ErrorBoundaryandwithGlobalErrorBoundary - Component Tracking — monitors component lifecycle performance with
useProfiler,withProfiler, orProfiler - Component Names — replaces generic element names with React component names in breadcrumbs and spans
When tracing is enabled (via tracesSampleRate or tracesSampler), these integrations are added automatically. See Tracing for setup.
- App Start — measures cold and warm app startup time (mobile only)
- Slow and Frozen Frames — tracks frame rendering performance (mobile only)
- Stall Tracking — detects JS event loop stalls
- Time to Display — measures time to initial and full display
- User Interaction — creates spans for user interactions
- React Navigation / React Native Navigation — automatic route instrumentation
- Mobile Session Replay — records and replays user sessions (mobile only)
- Hermes Profiling — profiles JS execution and native threads (mobile only, requires Hermes)
- Redux — captures Redux state and actions as breadcrumbs and context
- GraphQL — enriches spans and breadcrumbs with GraphQL operation data
- Supabase — instruments Supabase client for auth and database operations
The OpenTelemetry-based automatic integrations available for Node.js do not work in React Native. These integrations require manually wrapping or instrumenting the client.
- Anthropic — instruments Anthropic AI client
- OpenAI — instruments OpenAI client
- Google Gen AI — instruments Google Gen AI client
- LangChain — instruments LangChain operations via callback handler
- LangGraph — instruments LangGraph state graphs
- Console Logging — captures
console.*calls as Sentry logs (enabled by default) - Consola — sends logs from the Consola library to Sentry
- Pluggable Integrations — HttpClient and RewriteFrames
- Deep Link — captures deep link navigation as breadcrumbs
- Spotlight — forwards events to Spotlight for local debugging (development only)
- Custom Integrations — build your own integration
The React Native SDK supports both mobile (iOS/Android) and web (via react-native-web). Some integrations only apply to one environment:
Mobile only (added on iOS/Android, not on react-native-web):
- ReactNativeErrorHandlers, NativeLinkedErrors, DeviceContext, Screenshot, View Hierarchy, App Start, Native Frames, Hermes Profiling, Mobile Session Replay
Web only (added automatically when running in a browser via react-native-web):
- BrowserApiErrors, BrowserGlobalHandlers, BrowserLinkedErrors, BrowserSession
Most other integrations (breadcrumbs, context enrichment, tracing, library integrations) work in both environments.
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").