-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
resolution: fixedA fix has been merged or is pending merge from a PR.A fix has been merged or is pending merge from a PR.type: bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
Can not upgrade to latest version of firebase_core (2.0.0) in combination with another dependency from flutterfire.
Following error is given by flutter pub get:
flutter pub upgrade
Resolving dependencies...
Because firebase_remote_config >=1.0.0-dev.2 depends on firebase_core ^1.10.0 and picky depends on firebase_core ^2.0.0, firebase_remote_config >=1.0.0-dev.2 is forbidden.
So, because picky depends on firebase_remote_config ^3.0.0, version solving failed.
Steps to reproduce
Steps to reproduce the behavior:
In pubspec.yaml: update firebase_core to 2.0.0 and update firebase_remote_config to 3.0.0
Expected behavior
No errors during flutter pub get. Dependencies resolve.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-arm, locale en-BE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.72.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
Flutter dependencies
Unable to run it as dependency resolution fails. Adding relevant part of pubspec.yaml
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
firebase_core: ^2.0.0
firebase_analytics: ^10.0.0
firebase_auth: ^4.0.0
firebase_messaging: ^14.0.0
firebase_dynamic_links: ^5.0.0
firebase_storage: ^11.0.0
cloud_functions: ^4.0.0
cloud_firestore: ^4.0.0
firebase_crashlytics: ^3.0.0
firebase_remote_config: ^3.0.0
samithe7
Metadata
Metadata
Assignees
Labels
resolution: fixedA fix has been merged or is pending merge from a PR.A fix has been merged or is pending merge from a PR.type: bugSomething isn't workingSomething isn't working