Skip to content

docs(react-native): Reflect networkCaptureBodies default flip to true#18580

Merged
alwx merged 3 commits into
masterfrom
alwx/rn-replay-network-capture-bodies-default
Jun 30, 2026
Merged

docs(react-native): Reflect networkCaptureBodies default flip to true#18580
alwx merged 3 commits into
masterfrom
alwx/rn-replay-network-capture-bodies-default

Conversation

@alwx

@alwx alwx commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Update the React Native Network Details section to reflect getsentry/sentry-react-native#6372, which flips the mobileReplayIntegration({ networkCaptureBodies }) default from false to true so RN matches the iOS and Android native SDK defaults.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

Pair with the SDK release that ships #6372.

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 added an urgent due date to it.
    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

React Native SDK PR getsentry/sentry-react-native#6372 flips the\n`mobileReplayIntegration({ networkCaptureBodies })` default from\n`false` to `true` to match the iOS and Android native SDKs. Update\nthe Network Details documentation accordingly:\n\n- Options table: default `false` \u2192 `true`, with a note that\n  `networkDetailAllowUrls` is the real opt-in for body capture.\n- Examples no longer pass `networkCaptureBodies: true` explicitly\n  since that's now redundant; the simpler examples show that\n  allow-listing a URL is sufficient to capture bodies.\n- Added a separate header-only example using `networkCaptureBodies:\n  false` for the case where bodies are too sensitive to record.
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Jun 30, 2026 11:12am
sentry-docs Ready Ready Preview, Comment Jun 30, 2026 11:12am

Request Review

@codeowner-assignment codeowner-assignment Bot requested a review from a team June 29, 2026 10:51
@alwx alwx marked this pull request as ready for review June 29, 2026 11:13
@alwx alwx requested a review from antonis June 29, 2026 11:14
Comment thread docs/platforms/react-native/common/session-replay/index.mdx

@romtsn romtsn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Let's merge after the change is shipped

@alwx alwx merged commit 148d3f7 into master Jun 30, 2026
23 checks passed
@alwx alwx deleted the alwx/rn-replay-network-capture-bodies-default branch June 30, 2026 11:15
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.

3 participants