PostHog / PostHog/posthog-flutter

Enable/disable error autocapture via remote config

Open
#486 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/error-tracking
Dominant language
Dart
Stars
97
Forks
85
Avg merge
1d 8h
Merged PRs (30d)
31

Description

Extracted from PostHog/posthog#43012.

Problem

The Dart layer installs autocapture from the local errorTrackingConfig only; nothing reads a remote-config flag to toggle error autocapture at runtime (only session-replay sampleRate is remote-driven today).

Scope

  • Read a remote-config error-autocapture toggle in the Dart layer and gate install and teardown on it.

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 in the Dart layer where local errorTrackingConfig installs autocapture, and trace the existing remote-driven session-replay sampleRate handling. Identify the remote-config error-autocapture toggle and cover both installation and teardown; done when runtime changes gate error autocapture as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev, observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.