Skip to content

@posthog/react-native-plugin@2.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Aug 16:10
Immutable release. Only release title and notes can be modified.
81266ab

2.3.0

Minor Changes

  • #4429 1b6ed5a Thanks @ioannisj! - Add the native push notification bridge, so posthog-react-native can register device tokens and capture notification opens through the native PostHog SDKs.
    • Forwards the push config (capturePushNotificationSubscriptions, capturePushNotificationOpened) to posthog-ios and posthog-android at setup.
    • Bridges registerPushNotificationToken, unregisterPushNotificationToken, capturePushNotificationOpened, setOptOut, and reset for runtime control from JS.
    • Supports a JS pushIdentityProvider for projects that require identity-verified subscriptions.
    • Captures cold-start notification opens on Android by inspecting the launch Activity's intent at setup, which posthog-android's own lifecycle integration cannot observe in React Native apps. (2026-08-05)