-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Platform
iOS
Plugin
device_info_plus
Version
device_info_plus: ^11.3.3
Flutter SDK
3.27.2
Steps to reproduce
The required minimum supported version does not match the actual supported version. The current requirement is at least 3.29.0, Dart: 3.7.
Logs
Note: meta is pinned to version 1.15.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_test from sdk depends on meta 1.15.0 and device_info_plus 11.3.3 depends on meta ^1.16.0, flutter_test from sdk is incompatible with device_info_plus 11.3.3.
And because no versions of device_info_plus match >11.3.3 <12.0.0, flutter_test from sdk is incompatible with device_info_plus ^11.3.3.
So, because shorebird_demo depends on both device_info_plus ^11.3.3 and flutter_test from sdk, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on device_info_plus: flutter pub add device_info_plus:^11.3.0
Failed to update packages.Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.2, on macOS 15.2 24C101 darwin-arm64 (Rosetta), locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.97.2)
[✓] Connected device (5 available)
xxx
[✓] Network resources
• No issues found!Checklist before submitting a bug
- I searched issues in this repository and couldn't find such bug/problem
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade - I did a
flutter clean - I tried running the example project