Repository navigation
chore: adapt to posthog-ios 4.0 reloadFeatureFlags callback - #643
Merged
turnipdabeets merged 1 commit intoOct 7, 2026
Merged
Conversation
4 of 5 tasks
Contributor
posthog-flutter Compliance ReportDate: 2026-10-07 00:36:02 UTC ✅ All Tests Passed!45/45 tests passed Capture Tests✅ 29/29 tests passed View Details
Feature_Flags Tests✅ 16/16 tests passed View Details
|
dustinbyrne
approved these changes
Oct 6, 2026
posthog-ios 4.0 passes a PostHogFeatureFlagsLoaded to the reloadFeatureFlags(_:) callback (PostHog/posthog-ios#913). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
turnipdabeets
force-pushed
the
chore/v6-posthog-ios-4
branch
from
October 7, 2026 00:31
0ae4f04 to
9279d41
Compare
turnipdabeets
force-pushed
the
chore/v6-reload-flags-result
branch
from
October 7, 2026 00:31
8b78004 to
00aa00a
Compare
3 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
💡 Motivation and Context
Companion to PostHog/posthog-ios#913, stacked on #637. Spec: PostHog/sdk-specs#99.
posthog-ios 4.0 passes a
PostHogFeatureFlagsLoadedto thereloadFeatureFlags(_:)callback, so the existing zero-argument closure no longer compiles. This changes it to{ _ in ... }. Behavior is unchanged: the DartFuturestill resolves once the native reload finishes.Exposing
errorsLoadingto Dart is left for a follow-up;reloadFeatureFlags()staysFuture<void>.💚 How did you test it?
>= 4.0.0, which isn't released yet. The posthog-ios side compiles with this closure shape (make buildSdkon #913).📝 Checklist
If releasing new changes
pnpm changesetto generate a changeset fileNo changeset: internal change with no Dart API impact; it ships with #637.
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
🤖 Generated with Claude Code