Skip to content

Conversation

@marandaneto
Copy link
Member

Changes

This PR documents the before_send feature for the React Native SDK, which was implemented in PostHog/posthog-js#2931

Updates made:

  1. React Native SDK docs (/docs/libraries/react-native/index.mdx)

    • Added before_send to the configuration options table
    • Added new section "Customizing exception capture with before_send" under Error tracking with code examples
  2. Error tracking capture page (/docs/error-tracking/capture.mdx)

    • Added React Native tab to the Tab.Group in "During automatic capture" section
    • Shows how to use before_send for customizing exception properties
  3. Before-send hook snippet (/docs/error-tracking/_snippets/before-send-hook.mdx)

    • Updated description to mention React Native alongside Web and Node.js
    • Added React Native code example using MultiLanguage component

- Add before_send to configuration options table in React Native docs
- Add 'Customizing exception capture with before_send' section under Error tracking
- Update error tracking capture page to include React Native in Tab.Group
- Update before-send-hook snippet to include React Native example

Ref: PostHog/posthog-js#2931
@vercel
Copy link

vercel bot commented Jan 29, 2026

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

Project Deployment Review Updated (UTC)
posthog Ready Ready Preview Jan 29, 2026 10:37am

Request Review

@marandaneto marandaneto requested review from a team, ablaszkiewicz and hpouillot January 29, 2026 10: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.

4 participants