fluttercommunity / fluttercommunity/wakelock_plus

Device Screen still turns Off

Open
#59 11 comments 3 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
109
Forks
97
Avg merge
5d 4h
Merged PRs (30d)
2

Description

Hello Creator,

I started using your package today and I'm grateful for the amount of work you put into this,
however, I'm not getting the desired result with this package.
I'm creating a Streaming App where users stream to thousands of followers but it seems `WakelockPlus.enable()` is not working because the device screen still turns off instead of the device's screen being on all through till the user exists the page and the `dispose function ()` which has the `WakelockPlus.disable()` it's in

**current package of interest**
`wakelock_plus: ^1.2.5`
`win32: ^5.5.0`

```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale
en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor
--android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Community Edition (version 2023.3.2)
[✓] VS Code (version 1.89.0)
[✓] Connected device (4 available)
[✓] Network resources
```

Please, what I'm I doing wrong?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.