豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
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 fields configured for issues without a type.

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions