Code Monkey home page Code Monkey logo

Comments (6)

nilsreichardt avatar nilsreichardt commented on July 24, 2024 6

I recommend to override wakelock_winodws:

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

from wakelock.

isaaclyman avatar isaaclyman commented on July 24, 2024

Duplicate of #202.

from wakelock.

nomoruyi avatar nomoruyi commented on July 24, 2024

I recommend to override wakelock_winodws:

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

Not working for me, I get following message:
"Because every version of wakelock_windows from git depends on wakelock_platform_interface ^0.3.0 and wakelock 0.4.0 depends on wakelock_platform_interface ^0.2.0, wakelock_windows from git is incompatible with wakelock 0.4.0.
And because no versions of wakelock match >0.4.0 <0.5.0, wakelock_windows from git is incompatible with wakelock ^0.4.0.
So, because bio_courier depends on both wakelock ^0.4.0 and wakelock_windows from git, version solving failed."

from wakelock.

ashemetov avatar ashemetov commented on July 24, 2024

Same with win32 package - other packages require ^4.0.0.
As a workaround I made a local copy, changed win32 to ^4.0.0 and point my app onto modified package.
Hope issue will be fixed soon.

from wakelock.

jamesncl avatar jamesncl commented on July 24, 2024

Migrate to https://pub.dev/packages/wakelock_plus

from wakelock.

creativecreatorormaybenot avatar creativecreatorormaybenot commented on July 24, 2024

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

from wakelock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.