🚨 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-android SDK parses surveyPopupDelaySeconds from the survey JSON but does not expose it on the PostHogDisplaySurveyAppearance delegate model, so developers implementing their own survey UI cannot access this value.
Current State
- The
surveyPopupDelaySeconds field exists on the internal SurveyAppearance model (posthog/src/main/java/com/posthog/surveys/SurveyAppearance.kt:27)
- The
PostHogDisplaySurveyAppearance delegate model (what developers use) does NOT include surveyPopupDelaySeconds
- The
fromSurveyAppearance() conversion method does not map this field
Expected Behavior
The PostHogDisplaySurveyAppearance model should include surveyPopupDelaySeconds so developers implementing custom survey UIs can apply the delay themselves.
Reference Implementation
See posthog-js browser: packages/browser/src/extensions/surveys.tsx — _handlePopover() method for how the delay is applied.
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-android SDK parses
surveyPopupDelaySecondsfrom the survey JSON but does not expose it on thePostHogDisplaySurveyAppearancedelegate model, so developers implementing their own survey UI cannot access this value.Current State
surveyPopupDelaySecondsfield exists on the internalSurveyAppearancemodel (posthog/src/main/java/com/posthog/surveys/SurveyAppearance.kt:27)PostHogDisplaySurveyAppearancedelegate model (what developers use) does NOT includesurveyPopupDelaySecondsfromSurveyAppearance()conversion method does not map this fieldExpected Behavior
The
PostHogDisplaySurveyAppearancemodel should includesurveyPopupDelaySecondsso developers implementing custom survey UIs can apply the delay themselves.Reference Implementation
See posthog-js browser:
packages/browser/src/extensions/surveys.tsx—_handlePopover()method for how the delay is applied.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.