Skip to content

Surveys: Support event trigger property filters #263

@adboio

Description

@adboio

🚨 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 there.

Summary

The Flutter SDK does not support event property filters for survey event triggers. This is because Flutter delegates to the native iOS and Android SDKs, which do not yet support this feature.

Current State

  • Flutter requires posthog-ios >= 3.38.0 and posthog-android >= 3.25.0
  • Neither native SDK supports event property filters (see linked issues)

Blocked By

  • PostHog/posthog-ios - Surveys: Support event trigger property filters
  • PostHog/posthog-android - Surveys: Support event trigger property filters

Expected Behavior

When a survey is configured with event triggers that have property filters, the SDK should only activate the survey if both event name AND property filters match.

Reference Implementation

See posthog-js browser: packages/browser/src/utils/event-receiver.ts

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions