How to clear Chrome caches by command or configuration for zebra devices

Hello Team,

Do any one have information about how to clear chrome caches by command or config files.

We just wanted to have one config or button on lockscreen by clicking google chrome get cleared.

We have zebra devices TC52, Tc52 and TC57

a year ago
SOTI MobiControl
ANSWERS

Legacy script can do this: wipeaaplication BundleID to clear it entirely or only clearappcache BundleID 

I did this only with Javascripts, not sure about the legacy ones but should be executable via the template like follows:

var request = new XMLHttpRequest();
request.addEventListener("load", onLoad);
let js_command = `your_script comes_here`;
var encodedScript = encodeURIComponent(js_command);
request.open("GET", "mcscript://" + encodedScript);
request.send();
And you need to assign this to your button to execute it.
 
EG
Edgar Gomez
a year ago

Hi Nikhil,

The following legacy script will do it:

clearappcache packageName

P
PMMOD@SOTI
a year ago

Hi NIKHIL SAROJ,

Thank you for your post on SOTI Pulse, do you still require any assistance with the above issue?

Hopefully, you were able to solve the post by using the above-suggested solutions.  If yes, please mark it as "solution".

Please let us know so we can proceed further accordingly.