Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public API for manual replay control #78018

Open
Tracked by #74441
romtsn opened this issue Sep 24, 2024 · 3 comments
Open
Tracked by #74441

Public API for manual replay control #78018

romtsn opened this issue Sep 24, 2024 · 3 comments

Comments

@romtsn
Copy link
Member

romtsn commented Sep 24, 2024

Similarly to web replays, we should provide public API for controlling replay behavior manually:

  • start/startBuffering should start recording a replay regardless of sample rates set, with the corresponding mode
  • stop should stop the replay and send it to sentry
  • flush should flush all pending segments/frames to sentry
@cmanallen
Copy link
Member

@romtsn Is this done?

@romtsn
Copy link
Member Author

romtsn commented Dec 10, 2024

@cmanallen only on iOS I think, no other platform

@billyvg
Copy link
Member

billyvg commented Dec 11, 2024

We should probably add these to the other platforms before GA so that our APIs are consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants