larryaasen / upgrader

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

Please upgrade the package_info_plus dependency to the latest #396

Closed jusuf-el closed 3 months ago

jusuf-el commented 3 months ago

I am not able to depend on the latest package_info_plus version in my project, since upgrader requires package_info_plus >=4.0.1 <6.0.0.

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

Because upgrader 10.0.0 depends on package_info_plus >=4.0.1 <6.0.0 and no versions of upgrader match >10.0.0 <11.0.0, upgrader ^10.0.0 requires package_info_plus >=4.0.1 <6.0.0.
So, because <MY_PROJECT_NAME> depends on both package_info_plus ^6.0.0 and upgrader ^10.0.0, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on package_info_plus: flutter pub add package_info_plus:^5.0.1

Thank you!

larryaasen commented 3 months ago

This was fixed in version 10.0.1.

michaelmairegger commented 2 months ago

@larryaasen same issue now with package_info_plus v7 which was released on monday

orevial commented 2 months ago

In the meantime you can use my fork mentionned in the PR above