Starting with Android M (6.0) Google have introduced a new permissions model. Previously when installing an application via Google Play you had to approve all of the app permissions before installing, however with Android M this changes. When installing an app you are no longer asked to approve any permissions, instead each app must ask for your permission when using certain hardware/software functions. For example, if you wish to use the Barcode Scanner, Kiosk Browser requires permission to use the camera, if this permission is denied then the barcode scanner will not work.



From version 2.0.12 we ask for multiple permissions when the application launches, whilst this goes against the standard guidance we feel it's best to ask once in a Kiosk environment otherwise your end users may see permission prompts. You can also access this screen via Settings > About > Permissions.



These permissions can be denied within Android Settings > Apps > Kiosk Browser > Permissions (figure 1), however doing this will will cause the above functions to fail.



Permissions Management Screen (figure 1)





There are two further specific permission we request one of which is called "Draw over other apps", this allows us to block access to the notification bar. As above you will be prompted to enable this on first launch however the setting can be found in Android Settings > Apps > Gear Icon > Draw over other apps > Kiosk Browser.



The second is called "Modify system settings", this allows us to write settings such as display brightness (used in JavaScript functions) and allows us to change the screen timeout delay so we can switch off the display. As above you will be prompted to enable this on first launch however the setting can be found in Android Settings > Apps > Gear Icon > Modify system settings > Kiosk Browser.







This article was helpful for 2 people. Is this article helpful for you?