wakelock icon indicating copy to clipboard operation
wakelock copied to clipboard

Wakelock is Incompatible with Share plus ^7.0.0

Open NaveenKumarV1607 opened this issue 2 years ago • 2 comments

I'm currently using this package for our mobile app where the version solving failed.

Error in terminal:

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 and wakelock >=0.5.6 depends on wakelock_windows ^0.2.0, share_plus >=7.0.0 is incompatible with
  wakelock >=0.5.6.
So, because ui_conqur_fitness depends on both wakelock ^0.6.2 and share_plus ^7.0.0, version solving failed.

NaveenKumarV1607 avatar May 16 '23 06:05 NaveenKumarV1607

Duplicated #202

marcio-pessoa avatar May 17 '23 16:05 marcio-pessoa

I recommend to override wakelock_winodws:

dependency_overrides:
  # Can be removed when
  # https://github.com/creativecreatorormaybenot/wakelock/pull/203 is merged.
dependency_overrides:
  wakelock_windows:
    git:
      url: https://github.com/diegotori/wakelock
      ref: 40464c75e908f57f458597ef4912f5273ab89b1a
      path: wakelock_windows

nilsreichardt avatar May 19 '23 15:05 nilsreichardt

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