PostHog (Android)
Same as iOS plugin. Android-specific:
Install
bashpnpm add posthog-react-native @posthog/react-native-session-replay
Session Replay
Heavier on Android than iOS — disable for low-end devices:
tsxsessionReplayConfig: { maskAllTextInputs: true, maskAllImages: false, androidConfig: { debounceDelayMs: 1000, // throttle on Android } }
Feature flags + Material You
Use PostHog flag to A/B test Material You vs custom theme:
tsxconst useDynamicColors = posthog.isFeatureEnabled('material-you-rollout');
Pair with
- iOS plugin's
add-posthog-rn add-sentry-rn-android(crashes), PostHog (product analytics)


