fluttercommunity / wakelock_plus

Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, Linux, and web.
BSD 3-Clause "New" or "Revised" License
71 stars 54 forks source link

Switching from wakelock to wakelock_plus does not work #53

Closed bloemy7 closed 3 months ago

bloemy7 commented 7 months ago

Hi,

I just upgraded my package from wakelock to wakelock_plus, but the exact same code (minus class name changes, i.e Wakelock to WakelockPlus) is resulting in the wakelock not working as expected on iOS and Android.

It's not keeping the screen on. Is there a known issue here? I'm on wakelock_plus 1.1.4 due to some other dependency issues, is there a known problem with that version of the package or not?

Thanks a lot.

fettespferd commented 6 months ago

Hey, yes there were some recent updates so that upgrading to the version 1.2.4. is necessary. Due to restrictions I have in FlutterFlow I can currently also not make it work.

bloemy7 commented 3 months ago

Thanks - it was indeed fixed in that release.