Repository navigation
feat: [SDK-5700] add FlutterFramework SwiftPM dependency - #1199
Merged
Merged
Conversation
FlutterFramework requires Flutter 3.41+, so raise the minimum Flutter and Dart SDK constraints accordingly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Raising the SDK minimum switches dart format to the tall style. Formatting only, no code changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
abdulraqeeb33
approved these changes
Nov 9, 2026
abdulraqeeb33
left a comment
Contributor
There was a problem hiding this comment.
The FlutterFramework dependency and the Flutter 3.41 / Dart 3.11 floors match the plugin-author guide. CocoaPods still depends on Flutter.
One nit: examples/demo, demo-pods, demo-no-location, and demo-no-location-pods still declare sdk: ^3.7.0. Pub get on Flutter 3.41+ still resolves. A Flutter SDK inside that range and below Dart 3.11 fails. Worth aligning those four to sdk: ^3.11.0 and flutter: ">=3.41.0".
PR CI does not compile iOS, so this manifest is covered by the local simulator build only.
Merged
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.
One Line Summary
Add the
FlutterFrameworkdependency to the plugin'sPackage.swiftand raise the minimum Flutter/Dart versions it requires.Motivation
Flutter asked plugin authors to depend on
FlutterFrameworkbecause future Flutter versions will require it (migration guide). Closes #1198.Scope
ios/onesignal_flutter/Package.swift: add theFlutterFrameworkpackage and product dependency.pubspec.yaml:sdk: ^3.11.0,flutter: ">=3.41.0"(FlutterFrameworkrequires Flutter 3.41+).dart formatto the tall style, which CI's format-check enforces. Reviewers can skip it.Apps on Flutter < 3.41 will keep resolving 5.7.x. This should ship as a minor release, and the release notes should call out the new minimums.
Testing
flutter analyze: no issuesdart run rps format-check: passesdart run rps test: 272 passed, 98.4% coverageexamples/demoiOS simulator build with SwiftPM (Flutter 3.47.7): builds,FlutterFrameworkresolvesAffected code checklist
Checklist
🤖 Generated with Claude Code