wakelock_web Pub version GitHub stars Twitter Follow

Web platform implementation of the wakelock_platform_interface for the wakelock plugin.

Getting started

If you want to use the wakelock plugin on web, see the main wakelock plugin package.


The web implementation is based on NoSleep.js, i.e. the assets include a version that was modified to work with the wakelock plugin.
This supports the Screen Wake Lock API if available.