This post is about cordova insomnia plugin. Which prevent the mobile screen from turn down and locking while user is not touching the screen.
This feature used in applications when we read a lengthy document or watching a video in application.
To use this feature in the app we need to install following plugin through CLI.
Read more about the Cordova Insomnia plugin – Keep the screen awake visit Findnerd.