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
🐛 [firebase_messaging] Recent flutter 1.22 upgrade -- because every version of flutter_driver from sdk depends on platform 3.0.0-nullsafety.1, firebase_messaging ^7.0.0 is incompatible with flutter_driver from sdk
#3422
Closed
acoutts opened this issue
Sep 1, 2020
· 1 comment
· Fixed by #4012
Describe the bug
Upgrading to Flutter 1.22 (current dev channel release) makes firebase_messaging fail during flutter pub get due to a versioning incompatibility:
Because no versions of firebase_messaging match >7.0.0 <8.0.0 and firebase_messaging 7.0.0 depends on platform ^2.0.0, firebase_messaging ^7.0.0 requires platform ^2.0.0.
And because every version of flutter_driver from sdk depends on platform 3.0.0-nullsafety.1, firebase_messaging ^7.0.0 is incompatible with flutter_driver from sdk.
So, because bottlepay depends on both flutter_driver any from sdk and firebase_messaging ^7.0.0, version solving failed.
Steps to reproduce
Steps to reproduce the behavior:
1.flutter channel dev && flutter upgrade
2. flutter pub get
4. It will fail now with the error listed above.
Expected behavior
We should be able to upgrade Flutter and still use firebase_messaging.
Additional context
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel dev, 1.22.0-1.0.pre, on Mac OS X 10.15.6 19G73, locale en-US)
• Flutter version 1.22.0-1.0.pre at /Users/andrewcoutts/Projects/flutter
• Framework revision ce40de69b7 (12 days ago), 2020-08-20 07:31:50 -0700
• Engine revision 81027ab0cc
• Dart version 2.10.0 (build 2.10.0-45.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/andrewcoutts/Library/Android/sdk
• Platform android-30, build-tools 29.0.3
• ANDROID_HOME = /Users/andrewcoutts/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.6, Build version 11E708
• CocoaPods version 1.9.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 48.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.48.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.12.1
[✓] Connected device (6 available)
• Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64 • Android 10 (API 29) (emulator)
• xff0c-se (mobile) • 00008030-0016283036BB802E • ios • iOS 13.6.1
• iPhone 11 Pro Max (mobile) • 29CD7BB2-300D-4F6B-BDC2-3130066F7F95 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
• iPhone SE (2nd generation) (mobile) • 476F4C67-CC2F-49FF-9145-13ABBECEECA5 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 84.0.4147.135
• No issues found!
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Bug report
Describe the bug
Upgrading to Flutter 1.22 (current dev channel release) makes firebase_messaging fail during
flutter pub get
due to a versioning incompatibility:Steps to reproduce
Steps to reproduce the behavior:
1.
flutter channel dev && flutter upgrade
2.
flutter pub get
4. It will fail now with the error listed above.
Expected behavior
We should be able to upgrade Flutter and still use firebase_messaging.
Additional context
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: