Skip to content

Score support for swift package manager in plugins with ios/macos support #1402

Closed
@sigurdm

Description

@sigurdm

Reading:
https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-plugin-authors#how-to-add-swift-package-manager-support-to-an-existing-flutter-plugin

As far as I can tell we need to detect the presence of a <plugin_name>/<platform>/Package.swift file. Where platform is respectively ios and macos for the two platforms, or darwin that covers both.

I suggest we do an initial zero-scoring report note as we did for wasm support:

  • If the package is an ios plugin:
    • if it has <plugin_name>/ios/Package.swift or <plugin_name>/darwin/Package.swift file, mark platform support as fully passing
    • otherwise write "in the future this will receive a reduced score, please migrate to Swift package manager (link)"
  • Similarly for macos

Metadata

Metadata

Assignees

Labels

type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions