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
when depending on firebase_auth and flutter_localizations in flutter project the command flutter pub get fails with this log :
flutter pub getResolving dependencies...
Because no versions of firebase_auth match >4.2.9<5.0.0 and firebase_auth 4.2.9 depends on firebase_auth_web ^5.2.8, firebase_auth ^4.2.9 requires firebase_auth_web ^5.2.8.
Because firebase_auth_web 5.2.8 depends on intl ^0.17.0 and no versions of firebase_auth_web match >5.2.8<6.0.0, firebase_auth_web ^5.2.8 requires intl ^0.17.0.
Thus, firebase_auth ^4.2.9 requires intl ^0.17.0.
And because every version of flutter_localizations from sdk depends on intl 0.18.0, firebase_auth ^4.2.9is incompatible with flutter_localizations from sdk.
So, because example depends on both firebase_auth ^4.2.9 and flutter_localizations from sdk, version solving failed.
exit code 1
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.8.0-18.0.pre.30, on macOS 13.2.1 22D68
darwin-arm64, locale en-EG)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.75.1)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
Bug report
Describe the bug
Description
when depending on firebase_auth and flutter_localizations in flutter project the command
flutter pub get
fails with this log :Steps to reproduce
Steps to reproduce the behavior:
flutter pub get
Expected behavior
dependency resolving ends without conflicts .
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Click To Expand
The text was updated successfully, but these errors were encountered: