Skip to content

docs(react-native): Recommend @sentry/expo-upload-sourcemaps for Expo source maps#17415

Open
antonis wants to merge 1 commit intomasterfrom
antonis/rn-expo-sourcemap-scoped-package
Open

docs(react-native): Recommend @sentry/expo-upload-sourcemaps for Expo source maps#17415
antonis wants to merge 1 commit intomasterfrom
antonis/rn-expo-sourcemap-scoped-package

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented Apr 21, 2026

DESCRIBE YOUR PR

Updates the Expo source-maps upload guide to recommend the new scoped CLI package:

SENTRY_AUTH_TOKEN=<token> \
npx @sentry/expo-upload-sourcemaps dist

This is the long-term form of the mitigation we started in #17391. That PR routed the command through --package=@sentry/react-native to take the unscoped registry name off the documented happy path; this PR switches to the dedicated scoped package @sentry/expo-upload-sourcemaps, which is shorter to type, cannot be squatted (scope-protected), and is published and owned by Sentry.

An <Alert> block retains the previous npx --package=@sentry/react-native sentry-expo-upload-sourcemaps dist form for users on @sentry/react-native versions older than 8.9.0, where the new package is not yet available. Both forms produce identical results.

IS YOUR CHANGE URGENT?

  • None: Not urgent, can wait up to 1 week+

⚠️ Blocked on upstream

This PR should only merge after @sentry/expo-upload-sourcemaps is published to npm. The first release is scheduled to ship with @sentry/react-native 8.9.0 via getsentry/sentry-react-native#6027. If this doc lands before the package exists on the registry, users copy-pasting the command will get npm error 404 Not Found.

PRE-MERGE CHECKLIST

  • @sentry/expo-upload-sourcemaps is live on npm (verify with npm view @sentry/expo-upload-sourcemaps version)
  • The version gate in the <Alert> (8.9.0) matches the actual release version of @sentry/react-native that introduces the package; update if the number shifts
  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

… source maps

Prefer the new scoped CLI package as the primary invocation form, with a
version-gated note for users on @sentry/react-native older than 8.9.0 who
should continue to use the bin bundled with the SDK.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Apr 21, 2026 9:00am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Apr 21, 2026 9:00am

Request Review

Comment thread docs/platforms/react-native/sourcemaps/uploading/expo.mdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants