PostHog / PostHog/posthog-flutter

Add full onFeatureFlags callback with flags, variants, and error state

Open
#231 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Dart
Stars
97
Forks
85
Avg merge
1d 8h
Merged PRs (30d)
31

Description

Description

Mobile currently lacks parameters in the ‎onFeatureFlags callback, causing inconsistency with Web. We use a void callback that only notifies when flags are loaded, but the intention is to pass evaluated flags, variants, and any error state.

Context: https://github.com/PostHog/posthog-flutter/pull/224#discussion_r2601793593

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing onFeatureFlags callback and the linked Flutter PR discussion, then compare the related iOS and Android issues for the intended API shape. Done means the Flutter callback exposes evaluated flags, variants, and error state rather than only signaling that flags loaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.