Enable Single Application Mode using Runscript job
Single Application Mode refers to a state of device lockdown with only one application on the screen. With just one application in the foreground, access to home screen settings or other apps will be blocked at all times.
Prerequisites
- Set SureMDM Agent VR as Fully Managed Device (Device Owner) and in the SureMDM Agent settings file, type 1 in the kiosk mode tag to enable kiosk mode.
- There must be only one application allowed in the SureMDM Agent Kiosk.
To enable Single Application Mode using a Runscript job, follow these steps:
1. On the SureMDM Web Console, navigate to Jobs > New Job > Android VR> Run Script.
2. In the Run Script window, enter the Job Name and type the below script in the script box.
\!#suremdm
enableSingleAppMode(true/false)
Type true to enable Single-Application mode.
3. Click Save.
The newly created runscript job will be listed in the Jobs List section.
4. Go back to the Home tab and select the VR device(s).
5. Click Apply to launch the Apply Job/Profile To Device prompt.
6. In the Apply Job/Profile To Device prompt, select the runscript job and click Apply.