larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
557 stars 271 forks source link

Please upgrade the device_info_plus dependency to the latest #395

Closed jusuf-el closed 6 months ago

jusuf-el commented 6 months ago

I am not able to depend on the latest device_info_plus version in my project, since upgrader requires device_info_plus >=8.1.0 <10.0.0.

Here is the complete error message I get when trying to pub get:

Because upgrader 10.0.0 depends on device_info_plus >=8.1.0 <10.0.0 and no versions of upgrader match >10.0.0 <11.0.0, upgrader ^10.0.0 requires device_info_plus >=8.1.0 <10.0.0.
So, because <MY_PROJECT_NAME> depends on both device_info_plus ^10.0.1 and upgrader ^10.0.0, 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:^9.1.2

Thank you!

larryaasen commented 6 months ago

Fixed in version 10.0.1 the other day.