🚨 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 does not support the shuffleQuestions survey appearance setting. The field is parsed from JSON into the internal SurveyAppearance model, but it is NOT exposed in the public PostHogDisplaySurveyAppearance model, so delegate developers cannot access this information.
Current State
SurveyAppearance.shuffleQuestions exists (internal model, line 26)
PostHogDisplaySurveyAppearance does NOT include shuffleQuestions
- Note:
shuffleOptions on choice questions IS already exposed via PostHogDisplayChoiceQuestion — this issue is only about the survey-level question shuffling
Expected Behavior
When survey.appearance.shuffleQuestions is true, the survey questions should be presented in a randomized order to the delegate developer (either by shuffling in the SDK before passing to the delegate, or by exposing the flag so the developer can shuffle).
Reference Implementation
See posthog-js browser: packages/browser/src/extensions/surveys/surveys-extension-utils.tsx
getDisplayOrderQuestions() shuffles questions when survey.appearance.shuffleQuestions is true (and enable_partial_responses is false)
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 does not support the
shuffleQuestionssurvey appearance setting. The field is parsed from JSON into the internalSurveyAppearancemodel, but it is NOT exposed in the publicPostHogDisplaySurveyAppearancemodel, so delegate developers cannot access this information.Current State
SurveyAppearance.shuffleQuestionsexists (internal model, line 26)PostHogDisplaySurveyAppearancedoes NOT includeshuffleQuestionsshuffleOptionson choice questions IS already exposed viaPostHogDisplayChoiceQuestion— this issue is only about the survey-level question shufflingExpected Behavior
When
survey.appearance.shuffleQuestionsis true, the survey questions should be presented in a randomized order to the delegate developer (either by shuffling in the SDK before passing to the delegate, or by exposing the flag so the developer can shuffle).Reference Implementation
See posthog-js browser:
packages/browser/src/extensions/surveys/surveys-extension-utils.tsxgetDisplayOrderQuestions()shuffles questions whensurvey.appearance.shuffleQuestionsis true (andenable_partial_responsesis false)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.