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
Describe the bug
When switching to the beta channel (dart 3) my moderately complex project only builds when intl: any is given and a number of other packages are downgraded to older versions.
I think the problem is that firebase_auth_web using intl 0.17 whereas flutter_localized has switched to intl:0.18 in the beta channel but firebase_auth might not be the only package with a dependency on 0.17.
Steps to reproduce
switch to beta channel flutter channel beta; flutter doctor -v
in your pubspec.yaml, change pin the version for intl to any
rebuild pubspec.yaml until all conflicts are resolved
observe that several packages are falling back onto 3-4 month old versions
/Users/sylvia/flutter/bin/flutter --no-color pub outdated
Showing outdated packages.
[*] indicates versions that are not the latest available.
Package Name Current Upgradable Resolvable Latest
direct dependencies:
firebase_auth *4.2.2 *4.2.2 *4.2.2 4.4.2
firebase_ui_auth *1.1.4 *1.1.4 *1.1.4 1.2.4
firebase_ui_oauth_apple *1.0.11 *1.0.11 *1.0.11 1.1.4
firebase_ui_oauth_google *1.0.11 *1.0.11 *1.0.11 1.1.4
flutter_svg *1.1.6 *1.1.6 *1.1.6 2.0.5
google_sign_in *5.4.4 *5.4.4 *5.4.4 6.1.0
intl *0.18.0 *0.18.0 *0.18.0 0.18.1
Expected behavior
Using the latest versions of all major packages.
Sample project
To reproduce, change to beta channel, create a fresh project, and add a few dependencies.
Additional context
Add any other context about the problem here.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
➜ ~/StudioProjects/bar_foo flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.10.0-1.4.pre, on macOS 13.3.1 22E261 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
[✓] VS Code (version 1.77.2)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
githubmonkey
changed the title
🐛 [firebase_auth] Your issue title here
🐛 [firebase_auth] Dependency on intl 0.17 causing problems with beta channel
May 2, 2023
Bug report
Describe the bug
When switching to the beta channel (dart 3) my moderately complex project only builds when
intl: any
is given and a number of other packages are downgraded to older versions.I think the problem is that
firebase_auth_web
using intl 0.17 whereasflutter_localized
has switched to intl:0.18 in the beta channel but firebase_auth might not be the only package with a dependency on 0.17.Steps to reproduce
flutter channel beta; flutter doctor -v
Expected behavior
Using the latest versions of all major packages.
Sample project
To reproduce, change to beta channel, create a fresh project, and add a few dependencies.
Additional context
Add any other context about the problem here.
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: