Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter 3.27 warnings #130

Open
23doors opened this issue Dec 13, 2024 · 2 comments
Open

Flutter 3.27 warnings #130

23doors opened this issue Dec 13, 2024 · 2 comments

Comments

@23doors
Copy link

23doors commented Dec 13, 2024

Package search_choices:linux references search_choices:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of search_choices to either avoid referencing a default implementation via `platforms: linux: default_package: search_choices` or add an inline implementation to search_choices via `platforms: linux:` `pluginClass` or `dartPluginClass`.

Package search_choices:macos references search_choices:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of search_choices to either avoid referencing a default implementation via `platforms: macos: default_package: search_choices` or add an inline implementation to search_choices via `platforms: macos:` `pluginClass` or `dartPluginClass`.

Package search_choices:windows references search_choices:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of search_choices to either avoid referencing a default implementation via `platforms: windows: default_package: search_choices` or add an inline implementation to search_choices via `platforms: windows:` `pluginClass` or `dartPluginClass`.

I guess default_package lines should be removed in pubspec.yaml.

@lcuis
Copy link
Owner

lcuis commented Dec 14, 2024

Hi @23doors ,

Thanks for bringing this to my attention.

Indeed, I get the warning message with the up to date version of Flutter.
The message is surprising because there is a pluginClass for each platform.

Maybe the solution is what you are proposing but I am not able to build for the web for now. This may be a separate issue. I will look into this as soon as I can.

@alexandr-efimov
Copy link

Hi,
looks like it causes build error with Flutter 3.27 (not only warning):

Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): Package search_choices:linux references search_choices:linux as the default plugin, but it does not provide an inline implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants