Skip to content

Conversation

@ioannisj
Copy link
Contributor

Problem

Since surveys GA, where we flipped the default configuration for surveys to be true on iOS, react-native apps with session replay enabled get both native iOS surveys and RN surveys showing up.

Strange that this has not been reported, or if it was, we somehow missed it

Simulator Screenshot - iPhone 16 Pro - 2025-10-14 at 19 46 33

Solution

We just need to set config.surveys = false to disable native surveys

@ioannisj ioannisj requested review from a team October 14, 2025 17:27
@ioannisj
Copy link
Contributor Author

@marandaneto I guess it's also worth adding a safeguard in posthog-ios to skip surveys installation when postHogSdkName is "posthog-react-native"? wdyt?

@ioannisj ioannisj merged commit 493cc43 into main Oct 15, 2025
11 checks passed
@ioannisj ioannisj deleted the fix/ios-surveys branch October 15, 2025 13:06
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