I have a device (customer scanner in a supermarket...
# compose
l
I have a device (customer scanner in a supermarket) which runs in kiosk mode, i.e. the user is not allowed to leave the app. Status and navigation bars are hidden. However, when I show a
ModalBottomSheet
(BTW happens with a
Dialog
as well), the device leaves the kiosk mode and displays the status/navigation bars. Screenshots in 🧵
👀 1
Kiosk mode on (no status/nav bars):
After clicking the red text at the bottom, a
ModalBottomSheet
opens and causes the device to leave the kiosk mode (it displays the status/nav bars on top and bottom of the screen):
😲 3
It doesn't help hiding the status/navigation bars explicitly using
WindowCompat.getInsetsController()