0.0.3 • Published 8 years ago
cordova-kioskmode-plugin v0.0.3
kisok mode will be just a lightweight kisok mode that ask u for permissions and tells u how to end it until u made sure the app is the device owner app
lock and unlock the screen with:
window.kioskmode.lockScreen();
window.kioskmode.releaseScreen();
command:
adb shell dpm set-device-owner com.urdomain.exampleapp/com.codeb.cordovakioskmode.KioskAdminReceiver
make sure u replace "com.urdomain.exampleapp" with the pakage name of ur current app. in order to make this work u have to be sure ur device is not "provisioned" which means u have to delete any googleaccount setup for the device.
if u havent connected ur device via adb read here how to use it http://developer.android.com/tools/help/adb.html