Immersive mode via StageNow


Audience
Tags

Hello,
Couldn't find an option in StageNow to pass an adb command.
Specifically, I need an immersive mode which is achieved by this command -
adb shell settings put global policy_control immersive.full=*
Have I missed it?
If passing adb commands is not possible, is there any other way to achieve the fully immersive state without javascript involvement?
Any help will be much appreciated.
Regards,
Anton

Submitted by Anton Vinokur on June 23, 2022 Permalink

Tried that one but it completely hides the status bar, like a kiosk.
I need the status bar (and navigation bar) to be hidden but revealed on swipe, like a full-screen application.
That is why I've asked about the option to pass an adb command - it achieves exactly the right view.
Is there any other option?

Submitted by James Swinton … on June 23, 2022 Permalink

I'm assuming you don't have access to the application source code to leverage the Android APIs? https://developer.android.com/training/system-ui/immersive.html?authuse…

We typically don't duplicate Android functionality in our MX as it creates a maintenance overhead for little benefit. The only other suggestion I can think of is implementing something that captures the swipe gestures (accessibility service?) and triggers the relevant MX (hide/show status bar)