I have an application that runs as a kiosk using Android Management API - some of my customers prefer to use MDM platforms such as Intune and Airwatch.
We use the Samsung XCover Series for our dedicated devices.
It appears that with Android 11 there has arisen a new issue.
When the phone is running, be it as a single use Kiosk app locked to my application, or a multi-app setting using a third party MDM Platform, the screen will time out after a period of time. Once the screen times out, the Android 11 device enters the "Swipe to lock", but shows the app or MDM kiosk on top of this (hence the user has no knowledge this is happening). This is causing NFC to stop functioning as the device is essentially locked.
This can be reproduced and verified as follows:
- Take two phones, one Android 11 and one 9.
- Provisioning them to run as kiosk using any application
- Wait for the screen to timeout on both phones.
- Finally update the policy to run as "force_installed".
- The Android 11 phone will return to "Swipe to unlock", the 9 phone will not.
The same issue occurs on Android 10 but was easily fixed by turning the Lock Screen to Off in the device settings. Unfortunately, on Android 11 it appears that disabling this feature has no affect on the lock status of the device while running as a kiosk.
I have come up with a temporary solution for devices that are locked to our application, by keeping the screen alive when the app is running in the foreground. This however does not suit our customers who also use other apps within their environment.