kiosk_mode: How to activate "Lock Task Mode"? #300
Replies: 2 comments 5 replies
-
Thank you for your interest in our package! I'd be happy to help on your endeavour of having a true kiosk lockdown (not a pinned app). The matter is a bit complex, and ideally I should have written a blog post about it already. Maybe, one day I will. In this message, iOS is out of the picture. Everything I write about is for Android platform. So, for Android, here are the building blocks:
That's really all there is to it. Now I will describe the QR code provisioning process:
What is that provisioning QR code you ask? Here is an example of what might be encoded in that QR code:
If after scanning QR code during provisioning you will get an error message along the lines of "Cannot setup as work device, contact your IT admin", that means your device most probably disallows QR code provisioning (the setup wizard that the device comes with disallows it). We observed it with Samsung Knox security suit. Another reason for the error might be that you haven't removed all the accounts from the device (if it is not a brand new device and you have factory reset it). So, go and remove all accounts first before doing QR code provisioning. All in all, your DPC app should be native Android. And your kiosk app may be written in Flutter. DPC app whitelists your kiosk app - the app must already be present on the device. That means, that DPC should also know how to download your kiosk app and it should install it. Then, you can even write some more custom logic to update your kiosk app silently, since your DPC app will be a device owner. How does With all that, I should note that it became increasingly harder to buy some Android tablet off-the-shelf that will have QR code provisioning. If you cannot find it, then you have 2 other options:
Hope that helps. Please, stay tuned and check Mews Devs blog (https://developers.mews.com/) - who knows, maybe I will write a blog-post on "how to have yourself a Kiosk". 😄 |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your detailed answer. This is very helpful indeed and very much appreciated. Now I have to make sense of it all :). |
Beta Was this translation helpful? Give feedback.
-
Hello Mews-Community,
I'm trying to start a self-developed flutter app (Android 6+, but we can assume a modern Android) in kiosk mode. I am really glad your package exists, but I need real kiosk mode, not pinned. So I have work to do. But after reading multiple articles and documentation I am even more confused. I found lots of bits and pieces but couldn't manage to stitch them all together into a comprehensive step-by-step guide. Could someone please clearify?
As you can see I even have trouble formulating precise questions. I would appreciate every pointer.
Best regards,
Thorsten
Beta Was this translation helpful? Give feedback.
All reactions