Swift Package Manager Support: Add FlutterFramework Dependency
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 领域
- build-system, mobile
调研方向
找到每个插件的 Package.swift 文件和 pubspec.yaml;issue 描述了需要更新的依赖项条目和 Flutter 最低版本。按照链接的迁移指南操作,并先检查现有的 Swift Package Manager 配置。每个插件包都声明了 FlutterFramework,且 Flutter 最低版本至少为 3.41 时,即为完成。
由索引模型根据 Issue 内容生成。
描述
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!
- 主要语言
- Dart
- 星标
- 2.2k
- 派生
- 984
- 平均合并
- 4 天 11 小时
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Baseflow/flutter-permission-handler 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
[Bug]: Missing `== 0` inverts the `openAppSettings` check in permission_handler_windows_plugin.cpp可能已有人在做 @Seungpyo1007 于 62 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 3/5 1-2 天 新手友好度 54/100
-
难度 3/5 半天 新手友好度 65/100
Baseflow/flutter-permission-handler#1572 · 2 条评论 · 1 个 reaction ·
查看 Baseflow/flutter-permission-handler 的全部 Issue
相似的 Issue
-
BUG: App crashes on iOS when initializing speech-to-text due to missing microphone and speech recognition keys in Info.plist可能已有人在做 @AyushSrivastava1818 今天认领。 未关闭bug enhancement
难度 1/5 1 小时以内 新手友好度 78/100
AOSSIE-Org/Ell-ena#365 · 2 条评论 ·
-
feature
难度 2/5 1-3 小时 新手友好度 76/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#219 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
cucumber/gherkin#766 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
Anxcye/anx-reader#1024 ·
-
[cloud_functions]: Apple platforms ignore custom domains passed as region可能已有人在做 @ragavendranbala-TSL 今天认领。 未关闭Needs Attention platform: ios platform: macos plugin: functions type: bug
难度 2/5 1-3 小时 新手友好度 78/100
firebase/flutterfire#19015 · 2 条评论 ·
维护者通常 4 天内回复