Insomnia-PhoneGap-Plugin
Insomnia-PhoneGap-Plugin copied to clipboard
:sleepy: Prevent the screen of the mobile device from falling asleep
Hello, I always get the following error in XCode when trying to call the window.plugins.insomnia.keepAwake(); function 2015-10-04 20:47:57.087 Inapp_purchase[8302:907549] ERROR: Method 'keepAwake:' not defined in Plugin 'Insomnia' 2015-10-04 20:47:57.087 Inapp_purchase[8302:907549]...
Removed `cordova.addConstructor` and using module pattern instead.
Hello, running the following command with phonegap/cordova 5.1.1 **phonegap plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git** gives me this error: ``` Fetching plugin "https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git" via git clone Repository "https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git" checked out to git ref...