Skip to content

Add capture() API to capture replay from buffered events #7737

Closed
@billyvg

Description

@billyvg

This public API should function very similarly to what we do currently for error-based replays.

This method would only be available in the “on error” replay mode. It performs the necessary steps to create a new replay based on the buffered replay events and then switch the recording mode to be “session”-based so that we can continue capturing afterwards. This would be used by our default “on error” handler, as well as a public API to allow users to capture replays outside of error events (e.g. on button click).

Metadata

Metadata

Assignees

Labels

Package: replayIssues related to the Sentry Replay SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions