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.
Extracted from PostHog/posthog#43012.
Problem
The Dart layer installs autocapture from the local
errorTrackingConfigonly; nothing reads a remote-config flag to toggle error autocapture at runtime (only session-replaysampleRateis remote-driven today).Scope