🚨 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 Flutter SDK does not support the skipSubmitButton feature for surveys. This feature allows single-choice, multiple-choice, and rating questions to automatically submit when a selection is made, without requiring the user to press a submit button.
Current State
- Flutter delegates survey functionality to native iOS/Android SDKs
- Neither native SDK currently supports
skipSubmitButton
Expected Behavior
When a question has skipSubmitButton: true:
- For single-choice questions: submit automatically when an option is selected
- For rating questions: submit automatically when a rating is selected
- The submit button should be hidden for these questions
Dependencies
This feature requires implementation in the underlying native SDKs first:
Once native SDKs support this feature, Flutter will need to:
- Update minimum native SDK version requirements in
ios/posthog_flutter.podspec and android/build.gradle
- Update the Flutter survey widgets to handle auto-submission behavior
Reference Implementation
See posthog-js browser: packages/browser/src/extensions/surveys/components/QuestionTypes.tsx
Tracking
This is tracked in the survey SDK feature parity issue: PostHog/posthog#45658
This issue was generated by Claude during a Surveys SDK audit.
🚨 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 Flutter SDK does not support the
skipSubmitButtonfeature for surveys. This feature allows single-choice, multiple-choice, and rating questions to automatically submit when a selection is made, without requiring the user to press a submit button.Current State
skipSubmitButtonExpected Behavior
When a question has
skipSubmitButton: true:Dependencies
This feature requires implementation in the underlying native SDKs first:
Once native SDKs support this feature, Flutter will need to:
ios/posthog_flutter.podspecandandroid/build.gradleReference Implementation
See posthog-js browser:
packages/browser/src/extensions/surveys/components/QuestionTypes.tsxTracking
This is tracked in the survey SDK feature parity issue: PostHog/posthog#45658
This issue was generated by Claude during a Surveys SDK audit.