X-SLAYER / app_version_checker

A lightweight flutter plugin to check if your app is up-to-date on Google Play Store or Apple App Store
https://pub.dev/packages/flutter_app_version_checker
MIT License
12 stars 44 forks source link

Bump package_info_plus to 4.0.0 #13

Open Willian199 opened 1 year ago

Willian199 commented 1 year ago

After upgrading flutter to 3.10 and device_info_plus to 9.0.0;

It started showing an error when running flutter pub get.

Error:

Because package_info_plus >=1.4.1 <1.4.3 depends on package_info_plus_windows ^1.0.5 which depends on win32 ^2.0.0, package_info_plus >=1.4.1 <1.4.3 requires win32 ^2.0.0.

And because package_info_plus ^1.4.3 depends on package_info_plus_windows ^2.0.0, package_info_plus ^1.4.1 requires win32 ^2.0.0 or package_info_plus_windows ^2.0.0.

Because package_info_plus_windows >=2.1.0 depends on win32 >=2.7.0 <4.0.0 and package_info_plus_windows >=2.0.0 <2.1.0 depends on win32 ^2.7.0, package_info_plus_windows >=2.0.0 requires win32 >=2.7.0 <4.0.0.

Thus, package_info_plus ^1.4.1 requires win32 >=2.0.0 <4.0.0.
And because flutter_app_version_checker >=0.3.1 depends on package_info_plus ^1.4.2, flutter_app_version_checker >=0.3.1 requires win32 >=2.0.0 <4.0.0.

And because device_info_plus 9.0.0 depends on win32 ^4.1.4 and no versions of device_info_plus match >9.0.0 <10.0.0, flutter_app_version_checker >=0.3.1 is incompatible with device_info_plus ^9.0.0.
So, because s1mobile depends on both device_info_plus ^9.0.0 and flutter_app_version_checker ^0.3.2, version solving failed.
lukehutch commented 2 months ago

The latest version of package_info_plus is currently 8.0.0... same issue again