You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently plugin_tools tries to drive every example app unconditionally for iOS and Android. This means that a *_macos, *_linux, etc. federated plugin package needs to have example/ios/* and example/android/* even though it doesn't implement them, or tests will (pointlessly) fail. See flutter/plugins#2589 for an example.
We should make the tooling check the (local, not app-facing) plugin's supported platforms for mobile as we do for desktop. We'll need to either retool the is-platform-x-supported check to understand the legacy plugin: section in pubspec.yaml, or ensure that all plugins in flutter/plugins are using the new schema (the latter may already be done, I'm not sure offhand if it was done comprehensively).
The text was updated successfully, but these errors were encountered:
https://github.com/stuartmorgan/plugin_tools/pull/new/dont-require-ios-android-examples is the first half of a PR to fix it. It prevents building, but doesn't prevent driving, so won't work as-is. I haven't had time to dig into how to prevent the drive step from happening since the logic is less obvious there, so if someone is interested in taking on the second part they are welcome to take it over. (If not, I'm not sure when I'll be able to get back to this.)
@stuartmorgan I'm planning to work on the drive part. The link points to a on merged PR, do you want to land your PR? Does it require something else to land first?
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Currently
plugin_tools
tries to drive every example app unconditionally for iOS and Android. This means that a*_macos
,*_linux
, etc. federated plugin package needs to haveexample/ios/*
andexample/android/*
even though it doesn't implement them, or tests will (pointlessly) fail. See flutter/plugins#2589 for an example.We should make the tooling check the (local, not app-facing) plugin's supported platforms for mobile as we do for desktop. We'll need to either retool the is-platform-x-supported check to understand the legacy
plugin:
section inpubspec.yaml
, or ensure that all plugins in flutter/plugins are using the new schema (the latter may already be done, I'm not sure offhand if it was done comprehensively).The text was updated successfully, but these errors were encountered: