Closed hughns closed 3 months ago
The event should be visibilitychange not visiblitychange as per https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event.
visibilitychange
visiblitychange
I haven't tested this, but I assume that it means the useWakeLock doesn't work as intended today.
The event should be
visibilitychange
notvisiblitychange
as per https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event.I haven't tested this, but I assume that it means the useWakeLock doesn't work as intended today.