Skip to content

RN SDK: Expo Router ErrorBoundary reporting helper #911

Open

Description

@unjica

Gap

@telemetry-tracker/react-native 1.3.2 has no ErrorBoundary / Expo Router helper. Expo Router's route ErrorBoundary (expo-router 58.0.29 Try: only getDerivedStateFromError, no componentDidCatch) reports nothing, and RN 0.76+ routes caught render errors to ExceptionsManager (onCaughtError), not ErrorUtils, so the SDK's global handler never sees them. Users must hand-write a reporting boundary. Sentry ships wrapExpoRouterErrorBoundary (8.16.0) / opt-in autoWrapExpoRouterErrorBoundary (8.17.2+); EAS Observe ships ObserveErrorBoundary.

Affected

RN SDK 1.3.2 (core 1.5.3).

Acceptance criteria

  • Export e.g. createReportingErrorBoundary(name) / TelemetryErrorBoundary usable as an Expo Router ErrorBoundary export, unstable_settings.screenErrorBoundary and unstable_screenErrorBoundary.
  • Reports in an effect (not render) with handled_by, boundary, route pattern (no IDs/PII); exactly one report under StrictMode/re-render/remount.
  • Keeps retry; fallback renders without providers.
  • No hard dependency on expo-router for non-Expo RN users.
  • Tests + docs (/docs/react-native); SEO guide switches to the helper once shipped.

Found during SEO research for the Expo Router ErrorBoundary guide (brief 2026-11-02, verified against npm tarballs of @telemetry-tracker/react-native 1.3.2 and @telemetry-tracker/core 1.5.3). Prioritise after Sanja's Android release-build test results. Not implemented yet.

Activity

  1. added
    enhancement
    sdk
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsdk

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions