Cordova Screen Locker Plugin
The plugin helps you to lock and unlock device screen programmatically.
Notes
this repo is forked from https://github.com/kitolog/cordova-plugin-screen-locker.git
#Supported Platforms
The plugin version 0.2.1 supports only
Android (SDK >=7)
Other platforms will be added in new versions of plugin
#Installation
cordova plugin add cordova-plugin-screen-locker
#Sample
var successCallback = function() {
console.log('screen unlock success');
};
var errorCallback = function(e) {
console.log('error: ' + e);
};
window.screenLocker.unlock(successCallback, errorCallback, 10);
window.screenLocker.lock(successFun, errorFun);
#License
This software is released under the Apache 2.0 License.
© 2015 AppLurk, All rights reserved