Skip to content

Upgrade @sentry/react-native from 8.7.0 to 8.25.0+ to fix missing iOS spans #100694

Closed

Description

@melvin-bot

Problem

Spans from the iOS native app are missing in Sentry. Multiple engineers reproduced this on
production App Store builds (9.4.68-1 and later) across several accounts, including
non-Expensify emails. Web is unaffected. The device sends the request and gets a 200 back,
but the spans never show up in the trace explorer.

Overall production span volume has also been trending down over the last 30 days.

Root cause

Sentry Support confirmed this is a known React Native SDK bug affecting iOS on
React Native 0.86+:

Based on the payload you shared, this matches a known React Native SDK issue affecting
iOS with React Native 0.86+. When the device sleeps, the SDK's clock falls behind, causing
spans to be timestamped hours or days in the past.

Because the spans arrive with timestamps hours or days in the past, they are accepted (200)
but dropped or filed outside the query window, so they look missing.

Upstream issue: getsentry/sentry-react-native#6568

Fix

Upgrade @sentry/react-native from 8.7.0 to 8.25.0 or newer, which contains the fix.

  • Current: "@sentry/react-native": "8.7.0" in package.json
  • Target: 8.25.0 or newer

Steps

  • Bump @sentry/react-native to 8.25.0+ and run pod install
  • Review the SDK changelog between 8.7.0 and the target version for breaking changes
  • Verify spans arrive with correct timestamps from an iOS build
  • Verify Android and web spans still report correctly
  • Confirm production span volume recovers after deploy

Reported in Slack.

Activity

  1. self-assigned this
    on Sep 9, 2026
  2. rlinoz commented on Sep 9, 2026

    @rlinoz
    Contributor

    @MelvinBot open a PR with the fix.

  3. mountiny commented on Sep 9, 2026

    @mountiny
    Contributor

    @rlinoz we might need Mobile-Expensify PR too

  4. added
    Reviewing
    Weekly
    Daily
    and removed
    Daily
    Reviewing
    Weekly
    on Sep 9, 2026
  5. melvin-bot commented on Sep 11, 2026

    @melvin-bot
    Author

    @rlinoz

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.76-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

  6. added
    Reviewing
    Weekly
    and removed
    Daily
    on Oct 19, 2026
  7. self-assigned this
    on Oct 20, 2026
  8. added
    Daily
    and removed
    Reviewing
    Weekly
    on Oct 21, 2026
  9. melvin-bot commented on Oct 21, 2026

    @melvin-bot
    Author

    @rlinoz / @mountiny

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.15-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions