TC21 Enterprise Home Screen Apps not staying in the Background

Solved
RP
Rob Padovano
Wakefern Food Corp.

Hi all.

We recently started using TC21 Android version 10 (Build 10-16-10-.00-QG-U16-STD-HEL-04). Users noticed that when they are signed into and app, press the home button, open a different app, press the home button, and re-open the original app, it logs them out of the app. It seems that the EHS is not keeping the app open in the background. We are using EHS_040005. I loaded an older version of EHS (EHS_030104_B) and its still happening on the TC21.

We primarily use the TC72s and these devices do not have that issue. My test device is running Android 8 (Build 01-30-04.00-OG-U00-STD)

Anyone else having this issue or seen this issue?

4 years ago
Android
ANSWERS
M
Michael
4 years ago (edited 4 years ago)

Hi.

I think you need to enable "Recent Apps Access" in EHS. It's disabled by default. We had the same issue with apps that logged out when switching between apps. Once enabled everything worked.

https://techdocs.zebra.com/ehs/4-0/guide/settings/

Solution
MD
Matt Dermody Diamond Contributor
4 years ago (edited 4 years ago)

I don't think it is really the job of EHS to keep apps running in the background. What you're likely experiencing is Android 10 being more power efficient than A8 and therefore being more aggressive in closing background apps. Try disabling Doze mode or whitelisting the apps from Battery Optimization. 

I'd suggest reading up on the Power Management Optimizations that have come to more recent versions of Android. You're running A10, which would be inclusive of these changes that came along with A9:

https://developer.zebra.com/blog/what%E2%80%99s-new-android-pie-and-impact-zebra-developers

RP
Rob Padovano
4 years ago

Thanks Matt.

I just tried the Battery Optimization and turning off Doze Mode to no avail.  I just find it odd that I factory reset the device and manually installed the apps to the device without EHS and I can sign into multiple apps without getting kicked out.  The moment I installed EHS to the device is the moment I had the issue.

RP
Rob Padovano
4 years ago

Seems like what happened was I was using an older version of EHS and that version did not have a "Recent Apps Active" option.  Once I installed the new EHS version, the issue was resolved.  Thanks again!