Skip to content

Errors captured during a manually started replay (SentryFlutter.replay.start()) are not reliably linked to the replayΒ #4070

Closed

Description

@Krzysio7

Platform

Flutter Mobile iOS, Flutter Mobile Android

Obfuscation

Disabled

Debug Info

Disabled

Doctor

Flutter: 3.47.5
Dart: 3.13.4

Other Error Monitoring Solution

No

Other Error Monitoring Solution Name

No response

Version

10.0.0

Steps to Reproduce

await SentryFlutter.init((o) {
  o.dsn = '...';
  o.replay.sessionSampleRate = 0;
  o.replay.onErrorSampleRate = 0;
}, appRunner: () => runApp(SentryWidget(child: MyApp())));

await SentryFlutter.replay.start();
await Future.delayed(const Duration(seconds: 10));
await Sentry.captureException(Exception('boom'));
await SentryFlutter.replay.stop();

Expected Result

The error event carries the replay’s ID and shows up on the replay’s timeline / the issue’s Replays tab, on both platforms.

Actual Result

Error not linked to Replay. Happens both on iOS and Android.

Are you willing to submit a PR?

None

Activity

  1. linear-code commented on Oct 11, 2026

    @linear-code
  2. self-assigned this
    on Oct 12, 2026
  3. buenaflor commented on Oct 13, 2026

    @buenaflor
    Contributor

    Thanks, we're on it

  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with πŸ‘€ 3on Oct 13, 2026
  5. github-actions commented on Oct 15, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released πŸš€

    This issue was referenced by PR #4078, which was included in the 10.1.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions