Skip to content

Support runtime enable/disable of shake-to-report #5486

@sentry-junior

Description

@sentry-junior

Sentry's configuration is set synchronously at init(). Customers who fetch a feature flag asynchronously at startup (e.g. to restrict feedback to internal users only) cannot use that flag to toggle shake-to-report on the very first session — the config has already been applied before the async result returns.

Request

Expose a runtime API to enable or disable the shake-to-report / user feedback feature after initialization, so it can be toggled dynamically based on async signals like feature flags or user roles.

Action taken on behalf of Angelo de Voer.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions