-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[web]: Dependency issue with other package using web: ^1.0.0
#13190
Comments
firebase_analytics: ^11.2.1 Because every version of lib_utils from git depends on file_picker ^8.1.2 which depends on web ^1.0.0, Flutter Version How to solve it |
Agreed, it is giving issues with geolocator and share_plus for me |
Same, with auto_route |
As you can see in https://pub.dev/packages/web/changelog (and it was explained in already 2 issues)
We are not going to drop support for Dart < 3.4.0 right away. If you have an issue with this, you can use
|
Also, please search for duplicates before posting new issues: #13112 |
web: ^1.0.0
The stable version of flutter is already supporting dart 3.5.0. The solution suggested will break code. It certainly didn't compile for me. web 1.0.0 is a big breaking change, which is why people need it. Are you saying that all of the other packages that support web 1.0.0 are wrong? The optimal solution is to release a new version with web ^1.0.0. People can remain on the old version of this package and it will suit people who are on old versions of flutter/dart. People using the latest versions of this package can then use the latest versions of the other packages. |
I'm not saying other packages are wrong, I'm saying that given its size, FlutterFire needs to be aware, and support people who cannot always update to the latest version of Flutter right away. Dart 3.4.0 was released May 14, 2024, less than 4 months ago. |
@Lyokone would it be possible to have this as a "prerelease" on pub? Are there reasons against this? |
You have a great instrument called versioning. What's wrong with it? Those people who need old version of Flutter can use old version of Firebase, but the latest version of Firebase should support the latest version of Flutter and other latest packages of the infrastructure. |
The popular package |
Im a big fan of maintaining code for old versions as well. In this case however, pub.dev allowing for old versions to be installed solves that issue completely. Please re-consider and merge in the web1.0.0, there are some significant changes in it that I believe the majority of people will want across all their different packages As the days go on, more and more people like me will appear here. So another benefit is that you can avoid all these people coming here and making a comment 👍 |
Welp.. count me in as another that wound up here after finding this package being the reason I can't use web 1.0.0. |
I am curious what breaking changes prevent this package from upgrading to |
@Lyokone Flutter updated its flagship packages to They faced a similar issue as this one: flutter/flutter#151981. |
Conflicting with share, filepicker, and more dependencies. Update it ASAP please |
I'm asking around about this. Thanks for your patience! |
We have released a new version of every plugin that requires |
Is there an existing issue for this?
Which plugins are affected?
Core, Messaging
Which platforms are affected?
Android, iOS
Description
its now giving version compatibility issues with others
Reproducing the issue
Resolving dependencies...
Because no versions of firebase_messaging match >15.0.4 <16.0.0 and firebase_messaging 15.0.4 depends on firebase_messaging_web ^3.8.12, firebase_messaging ^15.0.4 requires firebase_messaging_web ^3.8.12.
Because firebase_messaging_web 3.8.12 depends on web ^0.5.1 and no versions of firebase_messaging_web match >3.8.12 <4.0.0, firebase_messaging_web ^3.8.12 requires web ^0.5.1.
Thus, firebase_messaging ^15.0.4 requires web ^0.5.1.
And because share_plus >=10.0.1 depends on web ^1.0.0, firebase_messaging ^15.0.4 is incompatible with share_plus >=10.0.1.
So, because sportdunia depends on both firebase_messaging ^15.0.4 and share_plus ^10.0.2, version solving failed.
Process finished with exit code 1
Firebase Core version
3.3.0
Flutter Version
3.24.0
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: