System Settings Navigation breaks Kiosk Mode of App #32387
Unanswered
cactusjack66
asked this question in
Q&A
Replies: 1 comment
-
|
I think you have to re-define the behaviour of the Shell back button. Try this resource and let me know if this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My maui app (target plattform Android 23) runs in Kiosk-Mode, so the "go to homescreen"-button and the "display active apps"-button in the nav bar at the bottom are not visible and the menu is missing, that appears when you swipe from top to bottom. The background is, that the user cannot leave the app. Additionally the app is set up as device owner and as homescreen, so it starts when the device is powered on.
At some point, it is neccessary to open parts of the system settings like:
MainActivity.Instance.StartActivity(new Intent(Android.Provider.Settings.ActionDisplaySettings));When I call this, the system's display settings appear. When I use the back button in the bottom bar, the system settings switch back to the app. All fine.
But when I tap the back arrow in the system settings (small arrow in the upper left corner), the main settings menu appears, which is not what I want. At this point, I can even leave the app completely by tapping the backbutton in the bottom bar. This brings me to the normal android-launcher homescreen. This should not happen, because the app runs in Kiosk mode.
So, is there a way to remove the back button in the system menu? So that the app stays in the called activity or that the back arrow in the system settings brings me back to the app instead of the root enu of the settings menu?
Beta Was this translation helpful? Give feedback.
All reactions