Skip to content

Docs example for includeWebFeedback/includeWebReplay crashes at startup #6149

Closed
getsentry/sentry-docs
#17774

Description

@friederbluemle

What React Native libraries do you use?

React Native without Frameworks, RN New Architecture, Hermes, React Navigation

Are you using sentry.io or on-premise?

sentry.io (SaS)

Are you using any other error monitoring solution alongside Sentry?

No

Other Error Monitoring Solution Name

No response

@sentry/react-native SDK Version

8.10.0

How does your development environment look like?

  react-native:
    installed: 0.81.6

Sentry.init()

Sentry.init({
  dsn: 'https://...@sentry.io/...'
  environment: '...',
  integrations: [sentryNavigationIntegration],
  tracesSampleRate: 0.1,
  profilesSampleRate: 0.1,
  sendDefaultPii: false,
  attachScreenshot: false,
  attachViewHierarchy: false,
  enableAutoPerformanceTracing: true,
  enableNativeFramesTracking: true,
});

Steps to Reproduce

Build and run the app

Expected Result

Doesn't crash

Actual Result

Following the official "Reduce Bundle Size" docs for the metro config setup:

https://docs.sentry.io/platforms/react-native/manual-setup/metro/#reduce-bundle-size

  module.exports = withSentryConfig(config, {
    includeWebReplay: false,
    includeWebFeedback: false,
  });

Crash

[runtime not ready]: TypeError: ... buildFeedbackIntegration is not a function (it is undefined)

Thrown at module evaluation, before any app code runs.

Activity

  1. linear-code commented on May 14, 2026

    @linear-code
  2. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on May 14, 2026
  3. self-assigned this
    on May 15, 2026
  4. antonis commented on May 15, 2026

    @antonis
    Contributor

    Thank you for reporting @friederbluemle 🙇
    We will update the doc and investigate the root of this

  5. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on May 15, 2026
  6. github-actions commented on May 21, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #6150, which was included in the 8.12.0 release.

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

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions