Repository navigation
chore(react-native-plugin): drop screenshotMode for posthog-ios 4.0 - #5236
Conversation
PR overviewAll previously flagged issues have been addressed. No open security concerns remain on this pull request. Security reviewNo open security issues remain on this pull request. Fixed/addressed: 1 · PR risk: 0/10 |
0afd890 to
369cace
Compare
1e813ac to
0422ed4
Compare
369cace to
14d4f6a
Compare
14d4f6a to
b56f376
Compare
|
This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the |
93428a3 to
6fed091
Compare
06416a3 to
878d1b7
Compare
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 |
posthog-ios 4.0 always records screenshots, so the setting is a deprecated no-op.
6fed091 to
50eb417
Compare
878d1b7 to
445e574
Compare
|
@turnipdabeets should we merge this? its stale, approved etc |
…5236) * chore(react-native-plugin): drop screenshotMode for posthog-ios 4.0 posthog-ios 4.0 always records screenshots, so the setting is a deprecated no-op. * chore(react-native-plugin): add changeset for dropping screenshotMode * chore(react-native-plugin): shorten screenshotMode changeset
Important
Depends on PostHog/posthog-ios#907 (remove wireframe replay) shipping in posthog-ios 4.0. If #907 merges, this goes in too. If PostHog/posthog-ios#907 is dropped from 4.0, close this PR (or revert it if already merged): without #907, removing this line makes iOS replay fall back to wireframe.
Problem
posthog-ios 4.0 removes wireframe session replay (PostHog/posthog-ios#907). Replay always records masked screenshots, and
sessionReplayConfig.screenshotModebecomes a deprecated no-op. The plugin still sets it totrue, which will only produce a deprecation warning once we're on 4.0.Changes
config.sessionReplayConfig.screenshotMode = truefrom the iOS plugin.Stacked on #5194, and can merge into it before #5237 (the posthog-ios 4.0 pin), which goes in last. Until #5237 lands, the unreleased #5194 branch runs posthog-ios 3.88.2 without this line, which falls back to wireframe replay. That's fine only because #5194 isn't released without #5237.
Release info Sub-libraries affected
Libraries affected
Checklist
sessionReplayConfig.screenshot = true, since posthog-android still has wireframe mode)If releasing new changes
pnpm changesetto generate a changeset file🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Prepared with Claude Code. Checked #907's diff:
screenshotModebecomes a deprecated property with no effect, andscreenshotModeBackgroundCapture(which the plugin also sets) keeps working without it. Not built locally on its own: on the 3.88.2 pin the build is unchanged, but replay would switch to wireframe, which is why 3.0 doesn't release without #5237. The 4.0 build check with this change applied passed (see #5237).🤖 Generated with Claude Code