Update SDK for Flutter 3.35 compatibility#208
Conversation
- Update Dart SDK constraint to >=3.8.0 <4.0.0 - Update Flutter constraint to >=3.35.0 - Bump iOS minimum deployment target to 13.0 (required by Flutter 3.35) - Update Kotlin version to 1.9.0 in example app 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the Mixpanel Flutter SDK to support Flutter 3.35, which requires updating minimum Dart and Flutter versions as well as platform-specific dependency versions.
- Updates Dart SDK minimum from 2.12.0 to 3.8.0 and Flutter minimum from 1.20.0 to 3.35.0
- Bumps iOS minimum deployment target from 12.0 to 13.0 (required by Flutter 3.35)
- Updates Kotlin from 1.7.10 to 1.9.0 in the example app for improved compatibility
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pubspec.yaml | Updates SDK constraints to Dart >=3.8.0 and Flutter >=3.35.0 |
| pubspec.lock | Auto-generated dependency updates from running pub get with new constraints |
| ios/mixpanel_flutter.podspec | Bumps iOS platform minimum from 12.0 to 13.0 |
| example/pubspec.yaml | Updates example app SDK constraint to match main package |
| example/pubspec.lock | Auto-generated dependency updates for example app |
| example/ios/Podfile | Updates iOS platform minimum to 13.0 for example app |
| example/android/build.gradle | Updates Kotlin version from 1.7.10 to 1.9.0 |
| @@ -1,5 +1,5 @@ | |||
| # Uncomment this line to define a global platform for your project | |||
| platform :ios, '12.0' | |||
| platform :ios, '13.0' | |||
There was a problem hiding this comment.
The iOS deployment target in the Xcode project file is still set to 12.0 but should be updated to 13.0 to match the changes in the Podfile and podspec. This file has three build configurations (Debug, Release, Profile) that all need to be updated to IPHONEOS_DEPLOYMENT_TARGET = 13.0 to ensure consistency across all iOS configurations and compatibility with Flutter 3.35.
|
I was able to run the example app with Flutter 3.38.5, so I don't think we need to do anything. |
🤖 Generated with Claude Code