wakelock icon indicating copy to clipboard operation
wakelock copied to clipboard

wakelock forces me to use old versions of plugins

Open kostadin24 opened this issue 1 year ago • 3 comments

Can we have plugin dependencies updated, please?

kostadin24 avatar May 02 '23 08:05 kostadin24

Yes please!

MrCsabaToth avatar May 04 '23 05:05 MrCsabaToth

Any updates on this? Can use this with Dart 3 & Flutter 3.10

armandojimenez avatar May 10 '23 23:05 armandojimenez

Any updates on this? Can use this with Dart 3 & Flutter 3.10

You can use this package with Dart 3 & Flutter 3.10. However, you might have some dependencies that depend on win32 >3.0.0. In this case, you need to use the following override in your pubspec.yaml:

dependency_overrides:
  # Can be removed when
  # https://github.com/creativecreatorormaybenot/wakelock/pull/203 is merged.
  wakelock_windows:
    git:
      url: https://github.com/timsneath/wakelock
      ref: win32-v5
      path: wakelock_windows

nilsreichardt avatar May 15 '23 12:05 nilsreichardt

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