PostHog / PostHog/posthog-flutter

Only send recording snapshots if there was en error (eg $exception)

Open
#275 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Session Replay
Dominant language
Dart
Stars
97
Forks
85
Avg merge
1d 8h
Merged PRs (30d)
31

Description

Description

https://posthog.slack.com/archives/C09LZA7FBEZ/p1769727378061099

today we send snapshots if session replay is enabled
there could be a mode where we keep recordings in memory until an error happens, and discard after a while if nothing is broken

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Flutter SDK's session replay recording and snapshot-sending flow, then identify how errors such as $exception are captured. Define how an in-memory recording mode is enabled, how long recordings are retained, and how snapshots are sent only after an error; verify that recordings are discarded when no error occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.