Skip to content

exclude session-replay from sdk, if not using session replay #4718

@thinkocapo

Description

@thinkocapo

Problem Statement

I have an end user telling me that if he doesn't use session replay for the React Native Sentry SDK, then the sentry sdk still brings in sentry-android-replay. Isn't it an easy win, to exclude that?

Reduce the App Size

https://linear.app/getsentry/issue/ANDROID-197/exclude-sentry-android-replay-if-session-replay-is-not-used

Solution Brainstorm

exclude it

Workaround (doesn't work)

User tries to manually remove it via updating his gradle stuff, but then sentry-rn fails to compile because it expects the session-replay sub-dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions