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
{{ message }}
Repository navigation
Building with a macOS plugin: "Plugin url_launcher_linux doesn't implement a plugin interface" #76396
On top of #74469 I see confusing output when I build for a macOS app
Plugin `url_launcher_linux` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `url_launcher_macos` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `url_launcher_windows` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
@jmagman What Flutter version are you using? I was encountering this while using the master branch of the Flutter repo, switched to stable and everything is behaving nicely.
This should be warnings for plugin which not implements all platforms, should not shown when building application?
Plugin `audioplayers` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `connectivity_plus_linux` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `connectivity_plus_macos` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `connectivity_plus_windows` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `file_chooser` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `file_chooser` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `file_chooser` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `flutter_audio_desktop` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `flutter_audio_desktop` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `flutter_qjs` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `flutter_qjs` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `flutter_qjs` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `package_info` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `path_provider_linux` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `path_provider_macos` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `path_provider_windows` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `shared_preferences_linux` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `shared_preferences_macos` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `shared_preferences_windows` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `sqflite` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `url_launcher_linux` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
linux:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `url_launcher_macos` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
macos:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Plugin `url_launcher_windows` doesn't implement a plugin interface, nor sets a default implementation in pubspec.yaml.
To set a default implementation, use:
flutter:
plugin:
platforms:
windows:
default_package: <plugin-implementation>
To implement an interface, use:
flutter:
plugin:
implements: <plugin-interface>
Reacted by BananaNeil, Iurii Dorofeev, Enrico Pasquali, Harjit Sahota, nikage and YanX
@jmagman What Flutter version are you using? I was encountering this while using the master branch of the Flutter repo, switched to stable and everything is behaving nicely.
@blasten Upping the priority of this. Instead of just fixing the offending plugins, can we suppress this warning in tooling when building an app? The plugin consumer can't do anything about this warning and it looks scary.
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.
Activity
jmagman commentedon Feb 19, 2021
@blasten
blasten commentedon Feb 19, 2021
I was unable to reproduce it. what version did it resolve to (from .packages)?
blasten commentedon Feb 19, 2021
Actually, I had modified the pub cache in order to test the changes. This is the intended behavior, and I will submit a fix to the offending plugins.
CodinMoldovanu commentedon Feb 21, 2021
@jmagman What Flutter version are you using? I was encountering this while using the
masterbranch of the Flutter repo, switched to stable and everything is behaving nicely.narumi147 commentedon Feb 21, 2021
This should be warnings for
pluginwhich not implements all platforms, should not shown when buildingapplication?jmagman commentedon Feb 22, 2021
I was on #74469 which is master.
@blasten Upping the priority of this. Instead of just fixing the offending plugins, can we suppress this warning in tooling when building an app? The plugin consumer can't do anything about this warning and it looks scary.
blasten commentedon Feb 22, 2021
Yes. I was going to disable the warnings for the time being.
Mhamza-MM commentedon Feb 23, 2021
Mhamza-MM commentedon Feb 23, 2021
jmagman commentedon Feb 23, 2021
blasten commentedon Feb 23, 2021
This was fixed in #76561
github-actions commentedon Aug 5, 2021
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 -vand a minimal reproduction of the issue.