Is there a possibility in Apache Cordova and Javascript to tell the Phone to not go into sleep mode, while my app is visible?
I've found things like keepScreenOn, but this is Java-Code, which I don't have in Apache Cordova or at least I have no idea how to use it.
Use Insomnia plugin for Cordova.