Open Kaushik0704 opened 6 years ago
if(isDeviceiOS)
{
// iOS - no window.powerManagement in here?
}
else
{
// Android - window.powerManagement _is_ here...
}
Doesn't look like you're using the plugin on iOS, am I reading that right?
@Viras- I want Screen always wake-up in iOS, so I'm integrating power management Cordova plugin for iOS.
After Create cordova project for iOS, I added this plugin. (cordova plugin add https://github.com/Viras-/cordova-plugin-powermanagement.git)
and put this code in my script but plugin code is not works for me.
Here is my code:
This cordova plugin works in android but doesn't works in ios.
Thanks, Kaushik.