Skip to content

fix(react-native-plugin): require posthog-ios 3.92.7 - #5482

Merged
turnipdabeets merged 1 commit into
mainfrom
chore/rn-plugin-posthog-ios-3.92.7
Oct 29, 2026
Merged

turnipdabeets merged 1 commit into
mainfrom
chore/rn-plugin-posthog-ios-3.92.7

Conversation

@turnipdabeets

Copy link
Copy Markdown
Contributor

Problem

React Native apps can't get the session replay fix in posthog-ios 3.92.7 (PostHog/posthog-ios#967). The plugin pins posthog-ios to 3.88.2, which resolves to < 3.89.0 on both CocoaPods (~> 3.88.2) and SPM (upToNextMinor).

In screenshot mode with nothing masked, posthog-ios encoded every frame at native scale (9x the pixels on a 3x device). The encode queue fell behind capture, and replays arrived minutes late. An RN user reported this on PostHog/posthog-ios#958 with @posthog/react-native-plugin 2.12.6.

Changes

  • Raise the posthog-ios minimum to 3.92.7 in the podspec and in ios/Package.swift.
  • Add a patch changeset for @posthog/react-native-plugin.

posthog-ios 3.92.7 keeps the same deployment targets as 3.88.2 (iOS 13, macOS 10.15) and is on CocoaPods trunk. JS APIs and Android are unchanged.

Related: #5449 also edits the podspec's posthog-ios resolution. Whichever lands second will need a rebase.

Release info Sub-libraries affected

Libraries affected

  • @posthog/react-native-plugin

Checklist

  • Tests for new code
  • Accounted for the impact of any changes across different platforms
  • Accounted for backwards compatibility of any changes (no breaking changes!)
  • Took care not to unnecessarily increase the bundle size

If releasing new changes

  • Ran pnpm changeset to generate a changeset file

Validation: node packages/react-native-plugin/scripts/check-spm-manifest.mjs and the ruby -c podspec syntax check pass. No native app build for this dependency-only bump; native CI is the gate.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Prepared with Claude Code after confirming that posthog-ios#967 fixes the root cause in #958 and that the plugin's pin blocks it from RN apps.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Coherence

0 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

  • packages/web/Web.spec.md entrance public api (trust host-app): packages/web
  • packages/webpack-plugin/Webpack-plugin.spec.md entrance webpack plugin (trust build): packages/webpack-plugin

Close one with guard: <chokepoint>, an invariant that names it on its entrances: line, or control: none — <reason>; scaffold control proposes it.

@dustinbyrne dustinbyrne left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency requirements agree across CocoaPods and both SwiftPM paths and reach the released replay screenshot-sizing fix. No actionable issues found.

AI-assisted review.

@turnipdabeets
turnipdabeets added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit dfd56e6 Oct 29, 2026
78 checks passed
@turnipdabeets
turnipdabeets deleted the chore/rn-plugin-posthog-ios-3.92.7 branch October 29, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants