Why is Kiosk Mode a prerequisite for hiding Nav Bars?

My app needs to be full screen but stepping through the call to ResizableWindow::setFullScreen(), and then AndroidComponentPeer::setFullScreen, I see that a call to shouldNavBarsBeHidden() only returns true if isKioskModeComponent() returns true. Can someone explain why this has to be the case?

Of course, I can turn on Kiosk Mode when I make the initial call to setFullScreen() and get the behaviour that I need, but I’m nervous about doing that. I’m fairly new to Android and given that one description I’ve found of Kiosk Mode as ‘a lock down mechanism that enables IT admins to run a single app or a pre-defined set of apps on Android smartphones and tablets’, which doesn’t really apply to my app’s situation, I’m wondering what are the consequences of taking this approach.

Thanks.

In JUCE, ‘kiosk mode’ just makes the app full screen and hides additional UI elements such as menus, docks etc. It sounds like the right course of action in your case.

Thanks, that’s useful encouragement :slight_smile: