Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sentry 5 min read Release mediumAdept

More ways to debug Expo apps with the React Native SDK

Sentry's React Native SDK now ships a first-class, auto-registering Expo Router integration that traces screen focus and imperative router calls (via wrapExpoRouter), correlates deep links with the navigation they trigger, and captures errors from per-route ErrorBoundaries, which a Babel plugin can wrap automatically at build time. Route attributes that may contain user identifiers are gated behind sendDefaultPii. Other additions include Time to Full Display via reportFullyDisplayed(), timing spans for OTA update check and download, and source map upload improvements. Network tracking is restored on Expo SDK 56+, whose native fetch bypasses XMLHttpRequest and had silently dropped requests from traces.

Related posts

  • Our Solution for Measuring React Native Rendering Times

    Shopify Engineering mediumAdept

    Shopify's open-source @shopify/react-native-performance library measures Time To Interactive in React Native apps across three scenarios: app startup, navigation between screens, and screen re-renders. It defines "rendered" by injecting an invisible marker view whose native counterpart reports when it reaches the window, so measurements include bridge communication. A state machine tracks render passes (interactive or not) and emits RenderPassReports, including a frustration signal when users leave before a screen becomes interactive. Integration requires hooks in Android, iOS and TypeScript, plus optional react-navigation wrappers. Reports can be forwarded to analytics tools such as Amplitude to track p99 TTI per screen and Apdex scores.

  • Artsy Mobile 2025 Wrapped

    Artsy Engineering mediumAdept

    Artsy's React Native apps (Eigen, Folio, Palette Mobile) adopted Expo and over-the-air updates after VS App Center's retirement, and all three moved to the new architecture. Navigation was consolidated on react-navigation, cutting navigate latency from 320ms to 70ms, and push notifications were unified with Notifee. Screen TTI dropped below 100ms through minimal queries, speculative prefetching, query splitting and Cloudflare CDN caching of shared query results. Other wins include building Android only for arm64-v8a, which cut build time by 75%, a move from CircleCI to GitHub Actions, Maestro E2E tests in CI, and Rozenite debugger plugins.

  • Sentry JavaScript SDK v11 adds tracing for all JS platforms

    Sentry mediumAdept

    Sentry's JavaScript SDK v11 replaces OpenTelemetry export-patching instrumentations (require-in-the-middle, import-in-the-middle, shimmer) with a source-code transformer that injects node:diagnostics_channel tracingChannel calls into library functions, plus integrations that subscribe to those channels and emit Sentry spans. Because the transform rewrites source rather than mutating exports, it runs both at runtime via Module.registerHooks and at build time via Vite, Rollup, webpack, esbuild and bun build plugins. That makes bundled deployments, Cloudflare Workers, Deno and Bun traceable and removes preload hacks and most OpenTelemetry dependencies. Caveats: load order still matters, --require is dropped, instrumented libraries must not be externalized, Bun runtime hooks are blocked by a CJS export bug, and debug: true reports what got injected.

  • Sentry's Flutter SDK 10.0: Streaming Traces and More Accurate Crash-Free Rates

    Sentry mediumAdept

    Sentry's Flutter SDK 10.0 switches tracing to a streaming model that sends finished spans in batches instead of waiting for the whole transaction, with `Sentry.startSpan` for custom instrumentation and an opt-out via `SentryTraceLifecycle.static`. Unhandled Flutter errors that don't kill the app no longer mark sessions as crashed (they end as `unhandled`), making crash-free rates more accurate. App startup becomes its own `app.start` root trace on Android and iOS, with an optional extension API. The release also removes the enable flags for logs and metrics, captures Dio failures that have no HTTP response, masks Flutter `SensitiveContent` in Replay, drops profiling and raises minimums to Dart 3.12 and Flutter 3.44, with sampling and filter rules needing review during upgrade.

  • Building On-call: Building a multi-platform on-call mobile app

    incident.io mediumAdept

    incident.io built its on-call mobile app with React Native and Expo after weighing native iOS/Android, Kotlin Multiplatform and Flutter. It wanted one codebase, native-feeling UX and a stack its web engineers could contribute to. Mirroring the web stack (Yarn workspace API client, SWR, Nativewind, Expo Router) kept the code familiar. Prebuild with app config and EAS builds let engineers ship push notifications without maintaining native projects. The main pain points were EAS build failures fixed with an easignore file, and Android's lack of critical alerts, which required a custom Kotlin Expo module to ring through silent mode.

The quest for software engineering knowledge.

Look:
Layout: