I am trying to get the following scenario to work:
* I have a Zebra MC33 running Android 8.1
* The device needs to run one simple app that has one activity which is an EMDKListener and reacts to one intent
* I want to use EHS to restrict the device to this app only
So far I have found everything I need, except for one oddity:
If I autostart the app in EHS (via <auto_launch> or <kiosk>), the app does not react when scanning. After disabling autostart and starting the app by tapping the icon it works normally. Attaching a debugger while the app is running autostarted doesn't even hit the breakpoint of the scan arriving in the app.
The relevant passages from the enterprisehomescreen.xml file are:
<application delay="5000" package="com.mycompany.myapp" activity="" />
<!-- ......... -->
Can anyone point me into the right direction?