-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device Screen still turns Off #59
Comments
@diegotori , please what do you think of this? |
What platform are you using? Also, iOS has known issues where it may not keep the screen on (affecting 16.4 and higher). Once I get myself an iOS device, I'm gonna port the code from Insomnia.swift into the iOS platform channel. The emulator may not be ideal for testing the wakelock. Nevertheless, I do accept and will review PRs related to this. As long as it passes the existing integration tests, then it'll get merged and released. If you submit a PR to this effect, then you will also have to update |
I'm testing on Android at the moment |
Please, what are the possible things i need to do now to prevent the device screen from sleeping?, my app is already in Production, I need to fix it fast as possible |
I need to know which device in particular is causing this issue, which version of Android, etc... Also, try running the project's example app as an initial sanity check. If that app works without issue, then it might be the way your app is being configured, or even the device itself. |
Furthermore, after doing a quick Google search, it seems that this is a known issue, where What's even worse is that when these issues pop up, the poster never specified the device and Android version that it failed to keep the screen on. Long story short, the Android platform channel is doing this by the book: using |
@diegotori , it is working now... |
Do we have any solution with |
Hi @zionnite, were you able to fix this issue? |
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 thedispose function ()
which has theWakelockPlus.disable()
it's incurrent package of interest
wakelock_plus: ^1.2.5
win32: ^5.5.0
Please, what I'm I doing wrong?
The text was updated successfully, but these errors were encountered: