chewie icon indicating copy to clipboard operation
chewie copied to clipboard

App depends on both chewie ^1.5.0 and share_plus ^7.0.0, version solving failed. Can we update wakelock to latest version in chewie ?

Open FirdousNath opened this issue 2 years ago • 1 comments

Because wakelock_windows >=0.2.1 depends on win32 ^3.0.0 and wakelock_windows <0.2.1 depends on win32 ^2.0.0, every version of wakelock_windows requires win32 ^2.0.0 or ^3.0.0.
And because share_plus >=7.0.0 depends on win32 ^4.0.0, share_plus >=7.0.0 is incompatible with wakelock_windows.
And because chewie >=1.3.5 depends on wakelock ^0.6.2 which depends on wakelock_windows ^0.2.0, share_plus >=7.0.0 is incompatible with chewie >=1.3.5.
So, because app depends on both chewie ^1.5.0 and share_plus ^7.0.0, version solving failed.
exit code 1

My Pubspec contains following latest plus packages:

  chewie: ^1.5.0
  share_plus: ^7.0.0
  intl: ^0.17.0
  device_info_plus: ^9.0.0
  android_id: ^0.0.4
  package_info_plus: ^4.0.0

FirdousNath avatar May 17 '23 10:05 FirdousNath

This is not an issue with chewie, which uses the latest version of wakelock. It's an issue with wakelock, which depends on an out-of-date version of win32.

See https://github.com/creativecreatorormaybenot/wakelock/issues/202.

isaaclyman avatar May 19 '23 00:05 isaaclyman