feat(react-native): Document native network breadcrumb options - #19551
Merged
Merged
Conversation
Add SdkOption entries for enableNetworkBreadcrumbs (iOS) and enableNetworkEventBreadcrumbs (Android), exposed in the RN SDK via getsentry/sentry-react-native#6764. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
NinjaLikesCheez
approved these changes
Sep 23, 2026
6 tasks
antonis
enabled auto-merge (squash)
September 24, 2026 09:30
antonis
added a commit
that referenced
this pull request
Sep 24, 2026
## DESCRIBE YOUR PR⚠️ Should be merged after getsentry/sentry-react-native#6768 is released Documents the native breadcrumb off-switches added in getsentry/sentry-react-native#6768: - `enableAutoBreadcrumbTracking` (iOS) - `enableActivityLifecycleBreadcrumbs` (Android) - `enableAppLifecycleBreadcrumbs` (Android) - `enableSystemEventBreadcrumbs` (Android) - `enableAppComponentBreadcrumbs` (Android) All default to `true`, matching the native defaults. > [!NOTE] > Stacked on top of #19551 (native network breadcrumb options). The base is set to that branch, so the diff here is only the five breadcrumb off-switch options. Re-target the base to `master` once #19551 merges. ## 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 - [x] 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](https://github.com/orgs/getsentry/teams/docs) ## EXTRA RESOURCES --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Documents two native SDK options newly exposed in the React Native SDK via getsentry/sentry-react-native#6764:
enableNetworkBreadcrumbs(iOS, defaulttrue) — off-switch for the native per-HTTP-request breadcrumbs, which largely duplicate the JSfetch/XHRbreadcrumbs.enableNetworkEventBreadcrumbs(Android, defaulttrue) — off-switch for native network connectivity/state breadcrumbs (network available/lost, WiFi ↔ cellular, bandwidth/VPN). These track device network state, not HTTP requests, so they are distinct from the JSfetch/XHRbreadcrumbs.Both are added to the Hybrid SDK Options section of the React Native options page, following the existing
<SdkOption>prose/platform conventions.availableSinceis intentionally omitted for now (the SDK release version isn't tagged yet); it can be added once the SDK PR lands and a version is cut.IS YOUR CHANGE URGENT?
Blocked on the SDK PR (getsentry/sentry-react-native#6764) shipping in a release.
PRE-MERGE CHECKLIST
🤖 Generated with Claude Code