cordova-plugin-locktask icon indicating copy to clipboard operation
cordova-plugin-locktask copied to clipboard

startlock admin mode still being disabled

Open jaycee04 opened this issue 7 years ago • 4 comments

I made it working with the device admin mode to startlock without prompt.

but now my problem is. i can still get out of the screen pin with hold + pressing menu and back key. All I thought only stopLock can do that?

jaycee04 avatar Oct 06 '17 09:10 jaycee04

Hy jacee04 I have seen that you asked oddmouse to add "isInLockTaskMode" method.

I use oddmouse LockTask plugin as it is and I don't run it as DeviceOwnerApp so that user can exit pinned modality. I just want to know if the user is in pinned modality or not.

Have you been able to add it by yourself?

I have cloned the plugin and added in config.xml of my app the row plugin spec="https://github.com/iacomellig/cordova-plugin-locktask.git" source="git" />

but, without any change in the code, doesn't work. Can you help me? It's the first time I try to add a custom plugin so please be as simple as possibile.

iacomellig avatar Mar 24 '18 10:03 iacomellig

hi iacomellig, I dont use this plugin anymore.since I got a plugin kioskmode which is what I really need.

jaycee04 avatar Mar 24 '18 13:03 jaycee04

Is there no solution for this? i have it set-up as device owner. but press+hold back menu button wil still exit the pinned mode..

Robertbaelde avatar Jun 28 '18 15:06 Robertbaelde

please take a look at kiosk plugin for cordova. its much better for locking the app

jaycee04 avatar Jun 28 '18 16:06 jaycee04