Nothing here yet.
Nothing here yet.
Please note, acc. to MDN, this is experimental technology and is majorly supported by Chrome & its forks and Samsung browser. We, as developers, have a responsibility to ensure consistent experiences for our users across all supported platforms (in this case browsers). I feel like usage of this tech would hurt it. I highly recommend providing a fallback like NoSleep.js at least for iOS & Android. Reference: https://dev.to/mikeesto/the-screen-wake-lock-api-51hp MDN: https://developer.mozilla.org/en-US/docs/Web/API/WakeLock#browser_compatibility