Insomnia
$ ionic cordova plugin add cordova-plugin-insomnia
$ npm install @awesome-cordova-plugins/insomnia
Prevent the screen of the mobile device from falling asleep.

Supported platforms

  • Android
    • Browser
    • Firefox OS
    • iOS
    • Windows
    • Windows Phone 8
Copy link
On this page
Usage Documentation
Supported platforms