-
Notifications
You must be signed in to change notification settings - Fork 662
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
Default plugins for linux/macos/windows need to register implementation; warning on latest Flutter #1555
Comments
same issue building on master branch |
I'm also getting this issue after doing flutter upgrade Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation. Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation. Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation. Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation. Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation. Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation. Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation. Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation. Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation. Doctor summary (to see all details, run flutter doctor -v): Android Studio Koala Feature Drop 2024.1.2 file_picker: ^8.0.6 flutter_local_notifications: ^17.2.1+2 Ran flutter pub upgrade --major-versions - still got the same error, is there another way to solve this? |
Yes I am getting the same issue |
This issue is stale because it has been open for 7 days with no activity. |
Stale-bot please go away; there's no reason to believe the bug has been fixed. |
same problem please help |
At #1562 (comment), @Zelkreps reports similar warning messages, and then:
@Zelkreps, does that mean that on iOS for you the build actually fails with these messages? If so, that's a more severe issue than this had been. The symptoms I'm seeing are only that |
I already figured it out, and it wasn't anyone's fault but mine. Somehow, mysteriously, flutter on my development Mac was upgraded from the stable version to the development version (you can see it in the flutter doctor dump), but I didn't notice it before, so I apologize. Everything is working and thanks for the quick response! :) |
OK, thanks for the followup. FWIW when things don't work on the master/main channel, that's still a bug that someone will need to fix 🙂. In general in the Flutter ecosystem, the main channel is expected to work, and many people — including Google in all their own uses of Flutter — use the main channel rather than stable. In this instance, the warning messages are currently only in main; but the code that's in main now can be expected to be in the next beta and the next stable, so they'll appear there too unless something changes first. |
It looks like #1567 was intended to fix this issue, and has been merged (thanks @Sameri11 and @navaronbracke!). And indeed after an upgrade to |
Describe the bug
Building an app using
file_picker
and Flutter from main, with a Flutter version since flutter/flutter#137040 last week, produces these warnings (taken from full output below):In fact just
flutter pub get
is enough to produce these warnings.So here I am doing as the warnings say, by asking you to do as the warnings say 🙂
There's a bit of a lack of documentation of this new warning. Perhaps you already know what it's saying, but in case it's helpful here's how another plugin fixed a similar warning:
MaikuB/flutter_local_notifications#2371
MaikuB/flutter_local_notifications#2368
Platform
Platform OS version
n/a (happens at
flutter pub get
time)How are you picking?
n/a
Details to reproduce the issue
Run
flutter pub get
after cloning this repo: https://github.com/zulip/zulip-flutter(while using a recent Flutter from the main/master channel, commit d55a5f96c117725c134099b78deb7af431a93902 or later)
Or see the logs of this CI run: https://github.com/zulip/zulip-flutter/actions/runs/10000051702/job/27641881195
Error Log
Screenshots and/or video
n/a
Flutter Version details
Additional context
The text was updated successfully, but these errors were encountered: