Repository navigation
chore!: require Flutter 3.41 or later - #713
Merged
Merged
Conversation
The 6.0 Swift package depends on ../FlutterFramework, which Flutter generates only from 3.41, so 3.27-3.40 failed with an unclear SPM path error instead of a pub constraint.
Contributor
posthog-flutter Compliance ReportDate: 2026-11-08T17:37:02.512125+00:00 ✅ All Tests Passed!232/232 tests passed Capture_V1 Tests✅ 105/105 tests passed View Details
Capture_Ai_V1 Tests✅ 110/110 tests passed View Details
Feature_Flags Tests✅ 17/17 tests passed View Details
|
turnipdabeets
marked this pull request as ready for review
November 8, 2026 17:30
marandaneto
approved these changes
Nov 9, 2026
marandaneto
left a comment
Member
There was a problem hiding this comment.
The code looks good; no qualifying findings. Verdict: correct.
6 of 17 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
Stacked on #637. 6.0's iOS/macOS
Package.swiftdepends on../FlutterFramework, which Flutter only generates from 3.41. Withflutter: '>=3.27.0', apps on 3.27–3.40 resolve fine and then fail with an unclear SPM path error. Raising the pubspec floor to>=3.41.0makes pub reject them up front.posthog_flutter/pubspec.yaml:flutter: '>=3.41.0'. Dartsdkstays>=3.6.0— nothing in Flutter 3.41 forces it up, and raising it would change the package's language version (formatter style, lints) for no resolution benefit, since Flutter 3.41 bundles a newer Dart anyway.MIGRATION.md: the Flutter row now applies to every platform, and it says pub refuses to resolve on Flutter < 3.41, including Android-only apps.No CI lane pins a Flutter version older than 3.41 (all use
channel: stable), and the example app already requires>=3.44.0.💚 How did you test it?
flutter pub getanddart analyzeinposthog_flutteron Flutter 3.44.1 (one pre-existingunnecessary_importinfo).📝 Checklist
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Claude Code, from a pre-release review of the 6.0 integration PR.
🤖 Generated with Claude Code