Skip to content

chore(react-native-plugin): require posthog-ios 3.86.0 and posthog-android 3.71.3 - #5151

Merged
turnipdabeets merged 2 commits into
mainfrom
posthog/rn-plugin-mobile-replay-quota
Sep 30, 2026
Merged

turnipdabeets merged 2 commits into
mainfrom
posthog/rn-plugin-mobile-replay-quota

Conversation

@arnohillen

Copy link
Copy Markdown
Contributor

Problem

React Native records session replay through the native SDKs. posthog-ios and posthog-android are adding a check that stops replay when the project is over its mobile session replay quota (quotaLimited: ["mobile_recordings"] in remote config):

The plugin pins posthog-ios ~> 3.83.0 and posthog-android 3.71.2, so React Native apps do not get the check until the pins move.

Changes

  • posthog-ios 3.83.0 → 3.86.0 in posthog-react-native-plugin.podspec and ios/Package.swift.
  • posthog-android 3.71.2 → 3.71.3 in android/build.gradle.
  • Patch changeset for @posthog/react-native-plugin.

Draft until both SDKs release. The target versions are the expected next releases: posthog-ios main has a pending minor changeset, and posthog-android main has none. Adjust the versions if the releases differ.

Release info Sub-libraries affected

Libraries affected

  • All of them
  • posthog-js (web)
  • posthog-js-lite (web lite)
  • posthog-node
  • posthog-react-native
  • @posthog/react-native-plugin
  • @posthog/react
  • @posthog/ai
  • @posthog/convex
  • @posthog/next
  • @posthog/nextjs-config
  • @posthog/nuxt
  • @posthog/openfeature-node-provider
  • @posthog/openfeature-web-provider
  • @posthog/rollup-plugin
  • @posthog/webpack-plugin
  • @posthog/types
  • @posthog/browser-common

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

How it was tested

  • Not tested yet. The target versions are not published, so CI cannot resolve them. Run the plugin tests after the releases.
  • The iOS bump also brings in the posthog-ios 3.84 and 3.85 releases.

If releasing new changes

  • Ran pnpm changeset to generate a changeset file

🤖 Agent context

Autonomy: Human-driven (agent-assisted)


Created with PostHog Desktop

…droid 3.71.3

Generated-By: PostHog Desktop
Task-Id: f115d189-5362-410f-9778-f87e6f59f5d6
@arnohillen
arnohillen requested a review from a team September 29, 2026 23:05
@arnohillen arnohillen self-assigned this Sep 29, 2026
@greptile-apps

greptile-apps Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Retrigger

[High risk] Bumps native SDK dependencies for mobile analytics.

No actionable issue was established in the changes since the previous review.

Reviews (2) · Last reviewed commit: "chore(react-native-plugin): bump to post..."

@turnipdabeets
turnipdabeets marked this pull request as ready for review September 30, 2026 14:00
@turnipdabeets
turnipdabeets enabled auto-merge (squash) September 30, 2026 14:00
@turnipdabeets
turnipdabeets merged commit 512d4c7 into main Sep 30, 2026
67 checks passed
@turnipdabeets
turnipdabeets deleted the posthog/rn-plugin-mobile-replay-quota branch September 30, 2026 14:13
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