App sometimes gets killed when not in foreground & under kiosk lockdown

7
74HCT04
Jersey Post

A back-to-basics question from me for once :-)

We have an important line of business app that will often get killed (so that the user sees they need to log back in and they will lose any unprocessed work) when another of the kiosked apps is launched.

The devices don't seem to be short of RAM when this happens and the "other" app can be something as basic as Google's phone app.

Am I missing some obvious way to preserve the context of the line of business app? Is it as simple as changing launch://com.myapp.app to launchwithrecents://com.myapp.app (I never fully understood what this would do)... Edit: No, custom command launchwithrecents://com.myapp.app stopped the icon from doing anything at all.

Our lockdown profiles currently have the "recents button" setting disabled.

We're running Android 11, Native activity suppression and Mobicontrol 15.5

2 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
2 years ago

Disable Doze Mode?

RC
Raymond Chan Diamond Contributor
2 years ago

Depending on your device brand/model, the associated firmware may include some aggressive app/process management option to kill inactive apps to lengthen battery life or increase available free memory.  Check if there is any such options in the power/memory-management related tabs in your device's Settings. 

RS
Rafael Schäfer
2 years ago
7
74HCT04
2 years ago

Thanks for all the suggestions.

It seems wrong that I might need to disable Doze mode to get the device to function "correctly". Let me try to establish if the issue occurs only when the screen is locked before I do that.

These are Honeywell CT60 devices for what it's worth.

Re: launchwithreceents:// The point that I am unclear on is how launch:// behaves if I've got the Recents Button disabled (which is my standard setup). I am now experimenting with Recents button enabled on a small number of devices to see if the Recents Button has any bearing on whether apps can remain resident in memory.

MD
Matt Dermody Diamond Contributor
2 years ago

I'm not sure I understand your point about configuring a setting so that the device runs correctly. Android OS is a consumer grade operating system with features built for the general consumer. Many of these features are not suitable for enterprise, line-of-business, mission critical devices. It is therefore very typical to disable or adjust default out of the box settings or to disable GMS bloatware applications so that the device can "run correctly" in the enterprise. 

7
74HCT04
2 years ago

Thank you, Matt. It sounds like I need to step aside and experiment for a while!

M
MNMOD@SOTI
2 years ago

Hi 74HCT04,

Thank you for posting on SOTI Pulse!

Did Matt's post help you resolve the issue? If yes, please feel free to mark his post as solution.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net l Discussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter