macOS support added; iOS-only APIs guarded
@posthog/react-native-plugin@2.2.0
1 feature1 enhancementThis release1 featureNew capabilities1 enhancementImprovements to existing featuresAI-tallied from the release notes
2.2.0
Minor Changes
- #4110
da33d9eThanks @ioannisj! - Add macOS support so the plugin builds on react-native-macos targets. The podspec now declares anosxplatform, 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)
Fetched July 10, 2026

