Skip to content

docs(react-native): Document native default for web Replay and Feedback exclusion - #20874

Draft
huextrat wants to merge 1 commit into
getsentry:masterfrom
huextrat:react-native/metro-web-packages-native-default
Draft

huextrat wants to merge 1 commit into
getsentry:masterfrom
huextrat:react-native/metro-web-packages-native-default

Conversation

@huextrat

Copy link
Copy Markdown

DESCRIBE YOUR PR

Updates the "Reduce Bundle Size" section of the React Native Metro plugin page for getsentry/sentry-react-native#7062.

With that SDK change, includeWebReplay and includeWebFeedback no longer default to true. When they're not set, the Metro plugin removes web Session Replay and User Feedback from Android and iOS bundles and keeps them in web bundles. The current page tells native-only apps to set both options to false, which won't be needed anymore.

Changes:

  • Explain that native bundles exclude these packages by default, starting with the SDK version that ships the fix.
  • Replace the Default: true table with a table of the three values (not set, true, false) and their effect on native and web bundles.
  • Keep the false example for apps that also want to remove the packages from web bundles, and for older SDK versions.
  • Clarify that includeWebFeedback doesn't affect the React Native feedback widget.

Merge this PR only after getsentry/sentry-react-native#7062 is released. The page says "8.37.0", which is the next minor version after 8.36.0. It needs to be updated if the fix ships in another version.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • 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

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

EXTRA RESOURCES

🤖 Generated with Claude Code

…ck exclusion

Starting with the SDK version that ships getsentry/sentry-react-native#7062,
the Metro plugin removes web Session Replay and User Feedback from Android
and iOS bundles by default. Describe the three option values and keep the
`false` example for web bundles and older SDK versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 18, 2026

Copy link
Copy Markdown

@huextrat is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@codeowner-assignment
codeowner-assignment Bot requested review from a team, alwx and antonis and removed request for a team November 18, 2026 10:37
@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Nov 18, 2026

This branch has not been deployed

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

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant