🚨 IMPORTANT
This issue is likely user-facing in the main PostHog app, see surveyVersionRequirements.ts. If you delete or close this issue, be sure to update the version requirements list here.
Summary
The posthog-flutter SDK does not implement the survey popup delay (surveyPopupDelaySeconds). The field is not present in the Flutter SDK code at all.
Current State
- No
surveyPopupDelaySeconds field or delay logic exists in the Flutter SDK
- The underlying native SDKs (iOS and Android) have the field in their models but do not implement the delay behavior either
Expected Behavior
When survey.appearance.surveyPopupDelaySeconds is set to a value > 0:
- The survey popup should be delayed by that many seconds before being shown
- Surveys should be sorted by their delay value (shorter delays first)
Dependencies
This depends on either:
- The Flutter SDK implementing the delay itself in its survey rendering code
- Or the native SDKs implementing it (iOS needs rendering delay, Android needs to expose on display model)
Reference Implementation
See posthog-js browser: packages/browser/src/extensions/surveys.tsx — _handlePopover() method which uses setTimeout for the delay.
Tracking
This is tracked in the survey SDK feature parity issue: PostHog/posthog#45658
This issue was generated by Claude using the /survey-sdk-audit skill.
🚨 IMPORTANT
This issue is likely user-facing in the main PostHog app, see
surveyVersionRequirements.ts. If you delete or close this issue, be sure to update the version requirements list here.Summary
The posthog-flutter SDK does not implement the survey popup delay (
surveyPopupDelaySeconds). The field is not present in the Flutter SDK code at all.Current State
surveyPopupDelaySecondsfield or delay logic exists in the Flutter SDKExpected Behavior
When
survey.appearance.surveyPopupDelaySecondsis set to a value > 0:Dependencies
This depends on either:
Reference Implementation
See posthog-js browser:
packages/browser/src/extensions/surveys.tsx—_handlePopover()method which usessetTimeoutfor the delay.Tracking
This is tracked in the survey SDK feature parity issue: PostHog/posthog#45658
This issue was generated by Claude using the
/survey-sdk-auditskill.