Part of the replay parity tracker PostHog/posthog#30889.
Problem
posthog-js records console logs into the replay ($console_log). Flutter has no equivalent: the Android layer hard-disables it (captureLogcat = false in PosthogFlutterPlugin.kt), iOS has no console-into-replay, and the Dart pipeline captures only screenshots. So Dart print/logging output never reaches the replay.
Scope
- Capture Dart
print/logging output into the replay stream.
Note: value is limited on Flutter's screenshot-based replay, worth weighing before prioritizing.
Reference: posthog-js console-log recording in packages/browser/src/extensions/replay/external/lazy-loaded-session-recorder.ts.
Part of the replay parity tracker PostHog/posthog#30889.
Problem
posthog-js records console logs into the replay (
$console_log). Flutter has no equivalent: the Android layer hard-disables it (captureLogcat = falseinPosthogFlutterPlugin.kt), iOS has no console-into-replay, and the Dart pipeline captures only screenshots. So Dartprint/logging output never reaches the replay.Scope
print/logging output into the replay stream.Note: value is limited on Flutter's screenshot-based replay, worth weighing before prioritizing.
Reference: posthog-js console-log recording in
packages/browser/src/extensions/replay/external/lazy-loaded-session-recorder.ts.