Swift Package Manager Support: Add FlutterFramework Dependency
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 77/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- build-system, mobile
Research direction
Find each plugin's Package.swift file and its pubspec.yaml. Read the existing package dependencies and Flutter version constraints, then update them to include FlutterFramework and require Flutter 3.41 or later. Done when every plugin package declares the dependency and its minimum Flutter version meets the requested requirement.
Written by the indexing model from the issue text.
Description
Hello,
Thank you for adding Swift Package Manager support to your plugin! Please also add the FlutterFramework dependency, as described in the updated migration guide. Future versions of Flutter will require this dependency.
- Add
FlutterFrameworkto each of your plugin'sPackage.swiftfiles:
dependencies: [
+ .package(name: "FlutterFramework", path: "../FlutterFramework")
],
targets: [
.target(
name: "plugin_name",
dependencies: [
+ .product(name: "FlutterFramework", package: "FlutterFramework")
]
)
]
-
Raise your plugin's minimum Flutter version to at least 3.41 in
pubspec.yaml:environment: sdk: ^3.11.0 flutter: ">=3.41.0"
If you have questions, reach out in the #hackers-ios channel on Flutter's Discord or open a GitHub issue.
Thank you for your wonderful contributions to the Flutter ecosystem!
- Dominant language
- Dart
- Stars
- 610
- Forks
- 731
- Avg merge
- 3m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from carp-dk/flutter-plugins
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
carp-dk/flutter-plugins#1311 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
carp-dk/flutter-plugins#1297 · 2 comments ·
-
activity_recognition bugfix
Difficulty 4/5 3-5 days Newbie friendliness 35/100
carp-dk/flutter-plugins#1291 ·
-
[movesense_plus 1.2.0] Better handling connection error to connected deviceMay be free again @bardram claimed this 276 days ago, and no pull request is open. Openbugfix improvement movesense_plus
carp-dk/flutter-plugins#1286 · 1 assignee ·
-
improvement
Difficulty 3/5 1-2 days Newbie friendliness 20/100
carp-dk/flutter-plugins#1271 · 1 comment ·
All issues in carp-dk/flutter-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
firebase/flutterfire#18918 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
customerio/customerio-flutter#441 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
newrelic/newrelic-flutter-agent#256 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
jhomlala/betterplayer#1646 ·
Maintainers usually reply within 1 day
-
Feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
amplitude/Amplitude-Flutter#337 · 1 comment ·
Maintainers usually reply within 1 day