wakelock icon indicating copy to clipboard operation
wakelock copied to clipboard

Updating win32 version to latest to make wakelock compatable with other packages

Open aakash-pamnani opened this issue 1 year ago • 2 comments

Description

wakelock was not compatible with other packages because of win32 version in wakelock_windows, Updated it to latest version, to remove conflict with other packages. I was getting this error

Resolving dependencies...
Because no versions of wakelock_windows match >0.2.1 <0.3.0 and wakelock_windows <0.2.1 depends on win32 ^2.0.0, wakelock_windows <0.2.1-∞ or >0.2.1 <0.3.0 requires win32 ^2.0.0.
And because wakelock_windows 0.2.1 depends on win32 ^3.0.0 and share_plus >=7.0.1 depends on win32 >=4.0.0 <6.0.0, share_plus >=7.0.1 is incompatible with wakelock_windows <0.3.0.
And because wakelock 0.6.2 depends on wakelock_windows ^0.2.0 and no versions of wakelock match >0.6.2 <0.7.0, share_plus >=7.0.1 is incompatible with wakelock ^0.6.2.
So, because test depends on both wakelock ^0.6.2 and share_plus ^7.2.0, version solving failed.

aakash-pamnani avatar Oct 15 '23 17:10 aakash-pamnani

Hey community. Why this PR has not been merged yet? I am having loads of conflicts because the win32 package is out of date

dccruzt avatar Jan 17 '24 19:01 dccruzt

@dccruzt , I think this package is no longer maintained, try using wakelock_plus: https://pub.dev/packages/wakelock_plus.

aakash-pamnani avatar Jan 18 '24 05:01 aakash-pamnani

Hi - I will soon discontinue this repository. Please use wakelock_plus: ^1.1.6 instead.