Repository navigation
chore(react-native-plugin): drop posthog-android's screenshot option - #5479
Open
turnipdabeets wants to merge 1 commit into
Open
turnipdabeets wants to merge 1 commit into
turnipdabeets wants to merge 1 commit into
Conversation
posthog-android 4.0 removes wireframe replay and the `screenshot` flag; replay always records masked screenshots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 tasks done
Contributor
Coherence0 spec problems · 0 failing chokepoints · 2 spec gaps · 0 guard failures 44 components, 7 bullets (5 invariants, 2 requirements), 0 problems Chokepoints: none declared. Spec gaps: 2 entrances with outside or unknown trust and no traced control, and 10 more held by the adoption baseline
Close one with |
turnipdabeets
marked this pull request as ready for review
October 29, 2026 14:51
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Depends on PostHog/posthog-android#908 (remove wireframe replay) shipping in posthog-android 4.0. Stacked on #5476 (posthog-android 4.0 pin). If PostHog/posthog-android#908 is dropped from 4.0, close this PR. Without it, removing this line makes Android replay fall back to wireframe.
Problem
posthog-android 4.0 removes wireframe session replay (PostHog/posthog-android#908). Replay always records masked screenshots, and
PostHogSessionReplayConfig.screenshotis removed. The plugin still setssessionReplayConfig.screenshot = true, which won't compile against 4.0.This is the Android counterpart of #5236 (iOS
screenshotMode).Changes
sessionReplayConfig.screenshot = truefrom the Android plugin module.Merge into #5476 (or after it, into #5194). #5476 is already waiting on posthog-android 4.0 being published.
Release info Sub-libraries affected
Libraries affected
Checklist
If releasing new changes
pnpm changesetto generate a changeset fileHow did you test it?
Not built locally. The change is one deleted line, and the plugin doesn't reference
screenshotanywhere else. CI can't build it until posthog-android 4.0.0 is on Maven Central, which is the same blocker as #5476.🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Written with Claude Code (Opus 5.5) at the maintainer's request, alongside PostHog/posthog-android#908 and the KMP follow-up.
🤖 Generated with Claude Code