I don't know where to start. I am searching for this from yesterday but didn't got any idea.
I have a Cordova android app. It is working fine but if user is not doing anything then screen get locked and app will go to background/pause.
I want to keep the phone stay awake when app is running.
Is there any plugins/example for the same?