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

top statusbar height customizable

Open LucaColombi opened this issue 6 years ago • 9 comments

Hello, I have a problem since using it in ionic, the upper nav bar with menu control (open menu, go back) is not clickable on my resolution (is a 24" screen for a kiosk)

I suppose this insensitivity is to prevent that upper statusbar to open, but in this case the status bar is smaller than the insensitive area, maybe because of the screen resolution.

So can you add a method like KioskPlugin.setStatubarInsensitiveHeight(integer) that allows me to set at runtime the value of insensitive height for fine regulations?

Thanks

LucaColombi avatar Jun 01 '18 16:06 LucaColombi

Probably would be more appropriate to fix how is height of overlay computed in the code. Will try to resolve when will be a time. In any case, pull requests are welcome ;)

thaarok avatar Jun 03 '18 19:06 thaarok

hello,

I found this if it is useful: https://gist.github.com/hamakn/8939eb68a920a6d7a498

LucaColombi avatar Jun 04 '18 08:06 LucaColombi

I also managed to disable statusbar at all, is it possible to disable the insensitive area?

LucaColombi avatar Jun 04 '18 09:06 LucaColombi

Sure. I will add more configuration options asap. Would you provide more info how has you disabled the statusbar?

thaarok avatar Jun 04 '18 10:06 thaarok

Hello,

the provider of the kiosk hardware did it for me, maybe you can find something useful here: https://stackoverflow.com/questions/21371802/permanently-hide-android-status-bar

for instance shutting down and running up the status bar drawer service on kiosk activation/deactivation could be a very useful feature to obtain a real fullscreen dedicated mode

Luca Colombi

http://ethicsoft.it/

Il giorno lun 4 giu 2018 alle ore 12:02 Jan Kalina [email protected] ha scritto:

Sure. I will add more configuration options asap. Would you provide more info how has you disabled the statusbar?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub

LucaColombi avatar Jun 07 '18 20:06 LucaColombi

I'm interested in this as well - have a button that most of pixels are now touch insensitive due to this. Would be a good feature

posipunk avatar Aug 17 '18 00:08 posipunk

I have also the Problem on Android 4 -> back and menu Button at the top left corner are not clickable. Is there an way to change the height of the overlay directly in the plugin code? Or can anyone provide a quick workaround for this?

Best regards iot-dev01

iot-dev01 avatar Sep 19 '18 14:09 iot-dev01

any update on this issue? statusbar overlay height is causing issue for me even though i have hidden statusbar. complete disable and enable statusbar would be a very helpful.

acedigibits avatar Oct 21 '19 11:10 acedigibits

Any update? I have same issue. When i installed plugin kiosk mode top of the screen of my tablet is unclickable. I have a mini banner at the top, so i can not click on that. Best regards

dobradovic avatar Oct 30 '19 13:10 dobradovic