I realized when I turn on my app for about 2 minutes, my smartphone automatically turns off its screen.
Yes, this is due to my smartphone setting which is set to turn off its screen after a certain period of inactivity.
Is there any way to make ionic prevent that behavior? or control that time?
For instance, I want my app to stay turned on for at least 10 minutes straight before turn off screen.
I wonder if there’s any cordova command for that.
Thanks in advance.