Skip to content

Add a Metro config flag (similar to includeWebReplay) to remove @sentry-internal/feedback from the bundle #5629

@kien-ngo

Description

@kien-ngo

Problem Statement

Using @sentry/react-native 7.11.0 without the feedback feature (no feedback widget, no integration, nothing) and it still bundles in the feedback code (image from expo-atlas).

Image

Solution Brainstorm

What I want is similar to this issue here: #3718

const config = getSentryExpoConfig(__dirname, {
  includeFeedback: false,
});

(Would love to open a PR but I know little to nothing about this project codebase)

Are you willing to submit a PR?

None

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions