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

After using power button, NoSleep stops working on ipda pro v14.6 #139

Open
Perryyang1979 opened this issue Jan 6, 2022 · 0 comments
Open

Comments

@Perryyang1979
Copy link

Hey I have trouble on no sleep function on some version of IOS deveice ,anriod device is ok .
and it works on Ipad mini V14.4 but it does not work on ipad pro 14.6 when using power button .

<script src="./resource/dist/NoSleep.min.js"></script> <script> var noSleep = new NoSleep(); window['EnableNoSleep'] = function () { noSleep.enable(); } // this called to enable no sleep function on the code. window.addEventListener("blur", function(event){ noSleep = new NoSleep(); noSleep.enable(); }); </script>
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