Skip to content

feat(surveys): add support for schedule 'always' setting#454

Draft
adboio wants to merge 1 commit intomainfrom
feat/survey-schedule-always
Draft

feat(surveys): add support for schedule 'always' setting#454
adboio wants to merge 1 commit intomainfrom
feat/survey-schedule-always

Conversation

@adboio
Copy link
Contributor

@adboio adboio commented Jan 29, 2026

Add support for the 'schedule: always' survey setting which enables surveys to display every time conditions are met, regardless of prior exposure.

Changes:

  • Add schedule property to PostHogSurvey model
  • Add PostHogSurveySchedule enum with once/recurring/always/unknown cases
  • Update canActivateRepeatedly to return true when schedule is 'always'
  • Add tests for schedule-based repeated activation

Closes #446

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

Add support for the 'schedule: always' survey setting which enables
surveys to display every time conditions are met, regardless of prior
exposure.

Changes:
- Add schedule property to PostHogSurvey model
- Add PostHogSurveySchedule enum with once/recurring/always/unknown cases
- Update canActivateRepeatedly to return true when schedule is 'always'
- Add tests for schedule-based repeated activation

Closes #446
@github-actions
Copy link

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Next" section. Make sure the entry includes this PR's number.
Example:

## Next
- add support for schedule 'always' setting ([#454](https://github.com/PostHog/posthog-ios/pull/454))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 3d0b9b6

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.

Support survey schedule 'always' (show every time)

1 participant