Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

startlock admin mode still being disabled #12

Open
jaycee04 opened this issue Oct 6, 2017 · 4 comments
Open

startlock admin mode still being disabled #12

jaycee04 opened this issue Oct 6, 2017 · 4 comments

Comments

@jaycee04
Copy link

jaycee04 commented Oct 6, 2017

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?

@iacomellig
Copy link

iacomellig commented Mar 24, 2018

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.

@jaycee04
Copy link
Author

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

@Robertbaelde
Copy link

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..

@jaycee04
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants