-
Notifications
You must be signed in to change notification settings - Fork 4k
🐛 [firebase_auth] Version 4.5.0 depends on firebase_auth_web ^5.4.0, which depends on intl ^0.17.0 #10938
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
Comments
Same issue. |
dependency_overrides:
intl: 0.18.0 Solved my problem |
This doesn't solve the problem for me unfortunately. I use wiredash and it creates conflicts with this for some reason.
|
Maybe to add some more context on Because no versions of firebase_ui_auth match >1.3.0 <2.0.0 and firebase_ui_auth 1.3.0 depends on flutter_localizations from sdk, firebase_ui_auth ^1.3.0 requires flutter_localizations from sdk.
And because every version of flutter_localizations from sdk depends on intl 0.18.0, firebase_ui_auth ^1.3.0 requires intl 0.18.0.
And because firebase_auth_web 5.4.0 depends on intl ^0.17.0 and no versions of firebase_auth_web match >5.4.0 <6.0.0, firebase_ui_auth ^1.3.0 is incompatible with firebase_auth_web ^5.4.0.
And because firebase_auth 4.5.0 depends on firebase_auth_web ^5.4.0 and no versions of firebase_auth match >4.5.0 <5.0.0, firebase_ui_auth ^1.3.0 is incompatible with firebase_auth ^4.5.0. Packages (and their versions) I am using
cloud_firestore: ^4.6.0
firebase_auth: ^4.5.0
firebase_core: ^2.11.0
firebase_ui_auth: ^1.3.0
firebase_ui_firestore: ^1.4.0
firebase_ui_oauth_google: ^1.1.5 |
This will work if you don't depend on flutter_localizations and SDK is at 3.0.0. So the problem for any working off stable with an intl app. |
Yeah, that solved.. and the thing regarding dependencies:
# for localizations (firebase_ui_auth uses)
flutter_localizations:
sdk: flutter
# for rest
dependency_overrides:
intl: 0.18.0 |
Solved my problem |
To everyone facing this issue, there's already a similar open issue describing the case: #10199 |
This worked for me. However, my project uses melos and one of the deployed sub-packages uses older version of intl (0.17.0) and for some reason, melos doesn't seem to work with it. I had to manually create |
Nevermind guys. New updated was just launched right now. Just update your firebase_auth to 4.6.0, and let intl be 1.8.0, that it'll work out. |
Bug report
Resolving dependencies...
Because no versions of firebase_auth match >4.5.0 <5.0.0 and firebase_auth 4.5.0 depends on firebase_auth_web ^5.4.0, firebase_auth ^4.5.0 requires firebase_auth_web ^5.4.0.
Because firebase_auth_web 5.4.0 depends on intl ^0.17.0 and no versions of firebase_auth_web match >5.4.0 <6.0.0, firebase_auth_web ^5.4.0 requires intl ^0.17.0.
Thus, firebase_auth ^4.5.0 requires intl ^0.17.0.
So, because __ depends on both firebase_auth ^4.5.0 and intl ^0.18.1, version solving failed.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Shouldn't have conflict with intl version 0.18.1
The text was updated successfully, but these errors were encountered: