allowSleepAgain not working on iOS?
adcuz opened this issue · comments
Adam Currie commented
Hi,
I am having an issue with allowing the device to sleep again after activating keepAwake(). The call to allowSleepAgain() works, and the success callback is called, however the screen stays on indefinitely.
This is happening on an iPhone (iOS 10.2). Is anyone else having the same issue?
Thanks
Adam Currie commented
This was my own error, I was debugging via USB, which keeps the screen awake.