@posthog/react-native-plugin
2.13.3 · 19 Nov 2026MIT745.4k / weekRepositoryHomepagenpmAtom feed
44 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x · latest line
2.13.3
19 Nov 2026- Breaking
Require posthog-ios 3.98.1 to reduce main-thread hangs in iOS session replay during fast scrolls and animations
(2026-11-19)
2.13.2
18 Nov 2026- Breaking
Require posthog-ios 3.98.0 to pick up the iOS session replay fixes since 3.92.7: skip a screenshot when
drawHierarchyfails instead of uploading a blank frame, keep masks aligned withscreenshotModeBackgroundCaptureduring scroll and animation, schedule capture without swizzlingUIViewlayout, and fix replay crashes with customCALayersubclasses and the iPad print panel.
(2026-11-18)
2.13.1
10 Nov 2026Fix Android fatal JavaScript crash timestamps being shifted when the device clock differs from network time
(2026-11-10)
2.13.0
30 Oct 2026- Breaking
Require posthog-android 3.74.2. Android apps that do not set
screenshotScalenow capture session replay screenshots at one pixel per dp, so uploads are smaller. SetscreenshotScale: 1to keep native resolution. Session replay also recordsFLAG_SECUREwindows fully masked and drops frames where an animating view would expose masked content.
(2026-10-30)
2.12.8
29 Oct 2026- Breaking
Require posthog-ios 3.92.7 so session replay screenshots without masks upload at the same size as masked ones. Before, they were encoded at native scale, which could leave replay minutes behind.
(2026-10-29)
2.12.7
27 Oct 2026Upgrade the Android SDK to 3.72.9, which pulls in OkHttp 4.12.1 to block the compromised eMudhra intermediate certificates.
(2026-10-27)
2.12.6
14 Oct 2026Report fatal JS crashes the JS error handler did not capture, such as React render errors on iOS, through native crash capture instead of dropping them (requires updating both
posthog-react-nativeand@posthog/react-native-plugin). Apps witherrorTracking.autocapture.nativeCrasheson anduncaughtExceptionsoff now get every fatal JS crash reported this way.
(2026-10-14)
2.12.5
5 Oct 2026- Breaking
Require posthog-android 3.71.6, which keeps replay uploads separate when the session or distinct ID changes and fixes corrupt gzip request bodies on Android.
(2026-10-05)
2.12.4
2 Oct 2026- Breaking
Require posthog-ios 3.88.2 to fix replay attribution across session and identity changes and a camera-picker replay crash.
(2026-10-02)
2.12.3
30 Sep 2026- Breaking
Require posthog-ios 3.86.1 and posthog-android 3.71.4, which stop session replay when the project is over its mobile session replay quota
(2026-09-30)
2.12.2
29 Sep 2026- Breaking
Require posthog-android 3.71.2, which stops event properties from overriding
$process_person_profileand$is_identifiedon native events
(2026-09-29)
2.12.1
28 Sep 2026Keep the JS layer's
$process_person_profileand$is_identifiedon fatal JS crashes captured through the Android native SDK, so they stay correct once posthog-android stops letting event properties override them
(2026-09-28)
2.12.0
25 Sep 2026Add
getSessionReplayDebugProperties()to read the native SDK's session replay debug map
(2026-09-25)Add
errorTracking.autocapture.androidNdkCrashesto capture native C/C++ (NDK) crashes on Android 12+ (requires@posthog/react-native-plugin2.12.0). Updateposthog-androidto 3.71.1 so these crashes are stamped at the right time when the device clock disagrees with network time.
(2026-09-25)
2.11.0
25 Sep 2026Attach the native session replay debug properties to native crash
$exceptionevents; requires posthog-ios 3.83.0 and posthog-android 3.70.0.
(2026-09-25)
2.10.0
23 Sep 2026Capture fatal React Native JavaScript exceptions through the embedded native SDK, which persists them to its own disk queue synchronously, so a crash is not lost when the process terminates before AsyncStorage finishes writing. The JS queue copy is dropped when native takes the event, so each crash is still sent once.
Enabling
errorTracking.autocapture.uncaughtExceptionsnow initializes the native PostHog SDK on its own, since that queue is what makes the fatal path durable. Apps that previously enabled neither session replay, native crash autocapture nor push will see one additional/configrequest per launch as a result: the native SDKs fetch remote config at setup regardless ofpreloadFeatureFlags. (2026-09-23)
2.9.4
16 Sep 2026Stop the native SDKs keeping their own opt-out state, so the consent the JS client resolves is the one they use at setup. Requires
posthog-android3.66.0 andposthog-ios3.76.0.
(2026-09-16)
2.9.3
15 Sep 2026Android: A notification tap that launched the app is no longer captured as
$push_notification_openedwhile the JS client is opted out, even if an earlier launch had opted the native SDK in.
(2026-09-15)
2.9.2
15 Sep 2026iOS: A notification tap that launched the app is no longer captured as
$push_notification_openedwhile the JS client is opted out, even if an earlier launch had opted the native SDK in.
(2026-09-15)Capture
$push_notification_openedon iOS when a notification tap cold-launches the app, or setcom.posthog.posthog.CAPTURE_PUSH_NOTIFICATION_OPENEDtofalseinInfo.plistto opt out before any PostHog code runs, as in posthog-flutter.
(2026-09-15)
2.9.1
15 Sep 2026Count a PostHog notification tap once when both
capturePushNotificationOpenedand automatic capture report it, using the dedupe added inposthog-android3.65.0 andposthog-ios3.75.0. Update the native SDKs toposthog-android3.65.2 andposthog-ios3.75.2.
(2026-09-15)
2.9.0
14 Sep 2026Add initialization-only
sessionReplayConfig.captureTouchesto disable replay touch coordinates without stopping screenshots on Android and iOS.
(2026-09-14)
2.8.1
12 Sep 2026- Breaking
Require posthog-ios 3.73.3 so React Native apps get the session replay masking fixes shipped in posthog-ios 3.73.2 and 3.73.3.
(2026-09-12)
2.8.0
11 Sep 2026Add experimental Android-only
screenshotScale,screenshotCompressionQuality, andscreenshotColorModeoptions tosessionReplayConfig, and bumpcom.posthog:posthog-androidto 3.63.1.
(2026-09-11)
2.7.0
11 Sep 2026Expose rageClickConfig for tuning or disabling native iOS rage click detection from React Native.
(2026-09-11)
2.6.0
10 Sep 2026Capture
$push_notification_openedon Android when a notification is tapped while the app is already running, not just on a cold start.
(2026-09-10)
2.5.2
7 Sep 2026Skip the explicit Kotlin plugin when AGP provides built-in Kotlin
Android Gradle Plugin 9 registers the
kotlinextension itself, so applyingkotlin-androidon top of it fails configuration with "Cannot add extension with
name 'kotlin'". The plugin is now applied only when nothing has registered that
extension yet, which keeps AGP 8 working unchanged and covers AGP 10, where theandroid.builtInKotlinopt-out is removed. (2026-09-07)
2.5.1
28 Aug 2026Update the native SDKs to
posthog-ios3.70.1 andposthog-android3.61.0, fixing session replay masks drifting off their content during scroll, a crash when replay console-log capture tears down on iOS, and web-scoped surveys showing on native Android.
(2026-08-28)
2.5.0
24 Aug 2026Add
sessionReplayConfig.verifyScreenshotMaskAlignmentfor Android session replay. This option requires@posthog/react-native-plugin.
(2026-08-24)
2.4.3
24 Aug 2026Fix session replay started with
startRecording()capturing nothing on Android by bumpingcom.posthog:posthog-androidto3.60.7.
(2026-08-24)
2.4.2
24 Aug 2026- Breaking
Require posthog-ios 3.69.10 so native dSYMs are uploaded after they are ready.
(2026-08-24)
2.4.1
21 Aug 2026Export the package metadata so consumers can resolve the installed plugin version. (2026-08-21)
2.4.0
13 Aug 2026Add native Swift Package Manager support for React Native 0.87's experimental CocoaPods-free iOS integration.
(2026-08-13)
2.3.1
7 Aug 2026Fix Android compilation with React Native 0.86.
(2026-08-07)
2.3.0
5 Aug 2026Add the native push notification bridge, so
posthog-react-nativecan register device tokens and capture notification opens through the native PostHog SDKs.
2.2.4
3 Aug 2026- Breaking
Raise the minimum posthog-ios dependency to 3.69.0 to include the rage-click sheet dismissal fix.
(2026-08-03)
2.2.3
15 Jul 20262.2.2
14 Jul 2026- Breaking
Require posthog-ios 3.64.7 or later, so release builds can skip conflicting dSYM uploads (the Expo plugin's
skipOnConflictoption) instead of failing when a dSYM with the same UUID but different content already exists in PostHog.
(2026-07-14)
2.2.1
10 Jul 2026Fix fatal JS errors being double-reported on Android in minified release builds: the plugin's dedup matched serialized class-name strings, which R8/ProGuard renaming can defeat. It now registers
JavascriptExceptionin posthog-android'serrorTrackingConfig.ignoredExceptionTypes(requires core 6.24.0), which matches by class across the cause chain and is unaffected by minification.
(2026-07-10)
2.2.0
10 Jul 2026Add macOS support so the plugin builds on react-native-macos targets. The podspec now declares an
osxplatform, and all iOS-only posthog-ios APIs (session replay config, surveys, session-recording controls) are guarded with#if os(iOS). Session replay remains iOS-only; macOS gets native error tracking.
(2026-07-10)
2.1.2
1 Jul 2026Add a
requestHeadersoption to send custom headers (e.g.Authorization) with SDK requests, including session replay and native error/crash uploads via the native plugin. Useful for reverse-proxy setups that require authentication.
(2026-07-01)
2.1.1
23 Jun 2026Raise the native SDK floor to the releases that skip session-replay event-trigger gating for React Native: posthog-ios
~> 3.61.1andcom.posthog:posthog-android:3.51.1. Required for React Native event-triggered session replay to record.
(2026-06-23)
2.1.0
19 Jun 2026Add
addExceptionStep(message, properties?)for breadcrumb-style exception steps. Steps accumulate in a rolling, byte-bounded buffer (configurable viaerrorTracking.exceptionSteps) and are attached to every captured$exceptionas$exception_steps, giving the error tracking UI a timeline of recent activity before each error. When native crash capture is enabled, steps are forwarded to the embedded native SDK so native crashes carry the same timeline.
(2026-06-19)
2.0.1
12 Jun 2026Drop native captures of fatal React Native JS errors that the JS layer already reports, so a fatal JS error no longer produces two
$exceptionevents. Works on Android (both architectures) and iOS (old architecture only). On the iOS new architecture, fatal JS exception events surface as a genericSIGABRTcrash event with no JS-error text in any field, so they currently cannot be filtered
(2026-06-12)Apply the session replay configuration at native SDK setup even when replay starts disabled, so recording turned on later (e.g.
startRecordingor a linked feature flag) uses screenshot mode, the configured masking, and the configured snapshot endpoint instead of wireframe/default settings
(2026-06-12)
2.0.0
10 Jun 2026- Breaking
First release under the new name
@posthog/react-native-plugin, picking up fromposthog-react-native-session-replay@1.6.0. Alongside the existing session replay support, the plugin now enables native error tracking — iOS and Android crash autocapture via the underlying PostHog mobile SDKs. It will be consumed by future versions ofposthog-react-native.
(2026-06-10)
- 0.0.x
0.0.1
9 Jun 2026
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.