---
title: "More ways to debug Expo apps with the React Native SDK"
description: "The Sentry React Native SDK now includes a first-class, auto-registered Expo Router integration that replaces manual opt-in wiring, automatically reading the internal ref and retrying when init runs before the Root Layout mounts. It traces screen-focus transactions and wraps imperative navigation with Sentry.wrapExpoRouter, correlating deep links via navigation.trigger=‘deeplink’, sanitized URL, and dispatch delay, while gating user-identifying route attributes behind sendDefaultPii. Route errors caught by Expo Router’s ErrorBoundary can be captured manually with Sentry.wrapExpoRouterErrorBoundary or automatically at build time using the Babel plugin’s autoWrapExpoRouterErrorBoundary option, with deduplication on re-renders. New performance instrumentation includes Sentry.reportFullyDisplayed() to measure Time to Full Display beyond initial paint, timing spans for Expo Updates’ check and download phases, and native-fetch request tracking for Expo SDK 56+ to restore network monitoring. The SDK also provides a dedicated source map upload package and warns at Metro startup if a prebuilt native project is missing Sentry configuration."
---

# More ways to debug Expo apps with the React Native SDK

[Sentry](https://yomu.fyi/company/sentry) · Antonis Lilis, Aleksandr Pantiukhov · Nov 24, 2026

**Type:** Announcement

## Summary

The Sentry React Native SDK now includes a first-class, auto-registered Expo Router integration that replaces manual opt-in wiring, automatically reading the internal ref and retrying when init runs before the Root Layout mounts. It traces screen-focus transactions and wraps imperative navigation with Sentry.wrapExpoRouter, correlating deep links via navigation.trigger=‘deeplink’, sanitized URL, and dispatch delay, while gating user-identifying route attributes behind sendDefaultPii. Route errors caught by Expo Router’s ErrorBoundary can be captured manually with Sentry.wrapExpoRouterErrorBoundary or automatically at build time using the Babel plugin’s autoWrapExpoRouterErrorBoundary option, with deduplication on re-renders. New performance instrumentation includes Sentry.reportFullyDisplayed() to measure Time to Full Display beyond initial paint, timing spans for Expo Updates’ check and download phases, and native-fetch request tracking for Expo SDK 56+ to restore network monitoring. The SDK also provides a dedicated source map upload package and warns at Metro startup if a prebuilt native project is missing Sentry configuration.

## Context

Expo Router navigation was previously observable only through a manual, opt-in helper using the generic React Navigation integration, requiring developers to wire up useNavigationContainerRef and registerNavigationContainer manually.

## Approach / What changed

The SDK introduces a first-class ExpoRouter integration that auto-registers and reads the internal navigation ref, providing automatic screen-focus tracing, deep link correlation, imperative navigation capture with Sentry.wrapExpoRouter, route error capture with Sentry.wrapExpoRouterErrorBoundary or Babel auto-wrapping, performance signals like Sentry.reportFullyDisplayed() and Updates timing, and native fetch detection for Expo SDK 56+.

## Takeaways

- The ExpoRouter integration auto-registers with Sentry.init() via Sentry.expoRouterIntegration(), eliminating manual React Navigation wiring and handling cold-start edge cases by retrying until the ref is available.
- Deep links are correlated with subsequent navigation through tags (navigation.trigger, deeplink.url, deeplink.dispatch\_delay\_ms). User-identifying route attributes are gated behind sendDefaultPii to maintain privacy by default.
- Route errors can be captured automatically at build time by enabling autoWrapExpoRouterErrorBoundary in the Babel plugin, which rewrites Expo Router’s ErrorBoundary export without modifying route files.

## FAQ

### How do I capture route errors without editing every route file?

Enable autoWrapExpoRouterErrorBoundary: true in your metro.config.js. The Babel plugin rewrites export { ErrorBoundary } from 'expo-router' into the wrapped version automatically, covering all routes without file changes.

### Why did my network requests disappear after upgrading to Expo SDK 56?

Expo SDK 56+ uses a native fetch that bypasses XMLHttpRequest, which the SDK previously relied on. The SDK now detects Expo's native fetch and tracks those requests directly, with no configuration changes needed.

### How can I measure when a screen is fully usable?

Call Sentry.reportFullyDisplayed() after your data loads in a useEffect. This records Time to Full Display (TTFD), letting you compare it with Time to Initial Display (TTID) to identify waiting gaps.

**Tags:** [Expo](https://yomu.fyi/topic/expo), [Performance](https://yomu.fyi/topic/performance), [React Native](https://yomu.fyi/topic/react-native), [Sentry](https://yomu.fyi/topic/sentry)

- Source: [Sentry](https://blog.sentry.io/expo-router-react-native-sdk)
- Source URL: https://blog.sentry.io/expo-router-react-native-sdk
- Ingested by Yomu: 2026-11-24T18:01:06.890Z

[Read original post](https://blog.sentry.io/expo-router-react-native-sdk)
