I need to implement the following plugin in my ionic application:
But I can not call it in my ts file.
I tried something like:
window.plugins.powerManagement();
But I get:
property plugins does not exist on type "Window"
Is there any way I can access this plugin?
I've already added it through:
cordova plugin add https://github.com/boltex/cordova-plugin-powermanagement.git
But what now?