From 82a121dc3b8dc6e781d0cfbb4f6675f7a48eb8cd Mon Sep 17 00:00:00 2001 From: Anna Garcia Date: Thu, 29 Oct 2026 11:01:54 -0400 Subject: [PATCH] chore: stop passing RRStyle to replay screenshot frames posthog-android 4.0 drops RRStyle and the wireframe tree fields from the internal RRWireframe; screenshot frames don't need a style. Co-Authored-By: Claude Opus 5.5 --- .../src/main/kotlin/com/posthog/flutter/SnapshotSender.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/posthog_flutter/android/src/main/kotlin/com/posthog/flutter/SnapshotSender.kt b/posthog_flutter/android/src/main/kotlin/com/posthog/flutter/SnapshotSender.kt index 976da3fd..e242cd98 100644 --- a/posthog_flutter/android/src/main/kotlin/com/posthog/flutter/SnapshotSender.kt +++ b/posthog_flutter/android/src/main/kotlin/com/posthog/flutter/SnapshotSender.kt @@ -5,7 +5,6 @@ import com.posthog.android.internal.base64 import com.posthog.internal.replay.RREvent import com.posthog.internal.replay.RRFullSnapshotEvent import com.posthog.internal.replay.RRMetaEvent -import com.posthog.internal.replay.RRStyle import com.posthog.internal.replay.RRWireframe import com.posthog.internal.replay.capture @@ -48,7 +47,6 @@ class SnapshotSender( height = height ?: bitmap.height, type = "screenshot", base64 = bitmap.base64(quality = quality), - style = RRStyle(), ) return RRFullSnapshotEvent( listOf(wireframe),