[connectivity_macos] Implements connectivity_platform_interface#3830
[connectivity_macos] Implements connectivity_platform_interface#3830blasten wants to merge 2 commits intoflutter:masterfrom
Conversation
|
This actually doesn't appear to make sense |
|
What was wrong with the first version of the PR? Isn't that the right way to annotate a package as being an implementation? |
|
|
The
I don't think it does. The design doc defined it this way:
Not the implementation of the interface package, but of the front-end (i.e., app-facing) package.
That is one of the implications of the |
|
My question then would be how are we versioning the method channel itself: https://github.com/blasten/plugins/blob/ab8f120624ecdc90fbd758e8c29d6a64227d6a71/packages/connectivity/connectivity_macos/macos/Classes/ConnectivityPlugin.swift#L37 I would expect that some native interface is imported and implemented in swift. |
|
Capturing from discussion elsewhere, it would make sense to add an explicit dependency on the platform interface in pubspec.yaml here, to make it clear (and enforced) what major version of the method channel is being implemented here. |
|
PTAL #3833 |
Related issue flutter/flutter#52267