Skip to content
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

NoSleep.js works but on Android devices it corrupts the execution of certain functions #140

Open
paulaegido opened this issue Jan 25, 2022 · 0 comments

Comments

@paulaegido
Copy link

  • Device Name: Lenovo Tab M10 HD (TB-X306F)
  • Device Version: Android 10
  • Browser Name: Chrome
  • Browser Version: 97.0.4692.98
  • NoSleep.js Version: v0.12.0

Expected Behavior

By logging into the app, you access the Firestore to upload certain data and calculate various parameters. These same functions are executed after completing actions in the app.

Actual Behavior

It doesn't access certain values properly only on Android devices, so the graphs that show the data load everything to 0, but no error is displayed on the console and I don't know what it could be related to.

Code

Confidential

How Do We Reproduce?

I think it may be related to the CPU on Android devices going into a 'sleep' state to save battery life and causing certain functions to not run properly. I don't know if this state can be avoided and always remain active. On iOS devices, in Safari and Chrome on desktop, everything works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant