Part of the replay parity tracker PostHog/posthog#30889.
Problem
Flutter replay masking is computed entirely from local Dart config. PostHogSessionReplayConfig.toMap() forwards only sampleRate to native (posthog_config.dart:597), and masking is applied Dart-side from local config in the screenshot pipeline, so a server-delivered masking payload has no path into Flutter's masking. Only sampleRate is remote-aware today.
Scope
- Plumb remote-config
masking into the Dart screenshot masking pipeline.
Reference: posthog-js applies server-side masking in packages/browser/src/extensions/replay/external/lazy-loaded-session-recorder.ts (this._remoteConfig?.masking).
Parity across SDKs
Part of the replay parity tracker PostHog/posthog#30889.
Problem
Flutter replay masking is computed entirely from local Dart config.
PostHogSessionReplayConfig.toMap()forwards onlysampleRateto native (posthog_config.dart:597), and masking is applied Dart-side from local config in the screenshot pipeline, so a server-deliveredmaskingpayload has no path into Flutter's masking. OnlysampleRateis remote-aware today.Scope
maskinginto the Dart screenshot masking pipeline.Reference: posthog-js applies server-side masking in
packages/browser/src/extensions/replay/external/lazy-loaded-session-recorder.ts(this._remoteConfig?.masking).Parity across SDKs