Skip to content

docs(react-native): Revamp integrations page with categories and missing integrations#17801

Open
antonis wants to merge 7 commits into
masterfrom
revamp-rn-integrations-page
Open

docs(react-native): Revamp integrations page with categories and missing integrations#17801
antonis wants to merge 7 commits into
masterfrom
revamp-rn-integrations-page

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented May 19, 2026

DESCRIBE YOUR PR

Revamps the React Native integrations page to address getsentry/sentry-react-native#3876. The three tasks from the issue:

  1. Mark integrations which only work on react-native-web — Added a "Web vs. Mobile" section listing mobile-only and web-only integrations, plus inline _(mobile only)_ annotations throughout.
  2. Add RN-only integrations implemented in sentry-react-native — Documented ReactNativeErrorHandlers, DeviceContext, EventOrigin, ReactNativeInfo, NativeRelease in default.mdx. Created new pages for Deep Link and Spotlight integrations.
  3. Add note about different behaviour between web and mobile — Added an Alert to the Breadcrumbs section noting that dom and history options don't apply on mobile; added the Web vs. Mobile summary section to the index.

Changes

integrations/index.mdx — Replaced bare <PageGrid /> with a categorized overview: Default, React, Tracing, Session Replay, Profiling, Library/AI, Logging, and Optional integrations. Cross-links to tracing/profiling/replay docs where integrations are documented outside the integrations directory.

integrations/default.mdx — Added 5 previously undocumented RN-specific default integrations (ReactNativeErrorHandlers, DeviceContext, EventOrigin, ReactNativeInfo, NativeRelease). Reorganized into "Error Handling" and "Context & Enrichment" sections. Added Alert about mobile vs web breadcrumb options.

integrations/deeplink.mdx (new) — Documents the deeplinkIntegration for capturing deep link navigation as breadcrumbs, including PII sanitization behavior.

integrations/spotlight.mdx (new) — Documents the spotlightIntegration for forwarding events to Spotlight during local development.

IS YOUR CHANGE URGENT?

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

PRE-MERGE CHECKLIST

  • 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

…ing integrations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 19, 2026 3:07pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 19, 2026 3:07pm

Request Review

antonis and others added 3 commits May 19, 2026 16:06
- Breadcrumbs: fetch defaults to false on mobile, add defaults to all options
- EventOrigin: clarify these are tags, not top-level event properties
- ReactNativeInfo: add missing context fields (hermes_debug_info, expo versions)
- Spotlight: clarify __DEV__ guard only applies to init option, not manual usage
- Web vs Mobile: add ReactNativeErrorHandlers and NativeLinkedErrors to mobile-only list

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove duplicated default integrations list from index, link to default.mdx
- Fix NativeLinkedErrors example to use plain JS instead of DOM APIs
- Remove misleading Dedupe code example (it's already enabled by default)
- Move "Unhandled Promise Rejections" out of Optional (it's a reference page,
  already linked from ReactNativeErrorHandlers in default.mdx)
- Add version annotations to deeplink (8.8.0) and spotlight (6.0.0) pages
- Remove inaccurate "C++" from NativeLinkedErrors (only Java and ObjC)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace standalone _(Mobile only)_ lines with inline descriptions
  to match existing page patterns in the directory
- Add title="Note" to spotlight Alert for consistency with other Alerts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread docs/platforms/react-native/integrations/deeplink.mdx
Comment thread docs/platforms/react-native/integrations/deeplink.mdx Outdated
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread docs/platforms/react-native/integrations/default.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.

docs: Revamp RN integrations page

1 participant