Erase browser cache

Erase browser cache

Hi,

We want to be able to erase browser(surf) stored data, from a share devices locked down in KIOSK mode(see screenshot). Specifically the user needs to be able to trigger a 'logout' after end of shift.

Devices are enrolled via Android Enterprise(Device Owner).

Solution #1:
Deploy a script file and run from lockdown with scriptcommand. wipeapplication or kill_application.

However both script commands appear unsupported(log displays script command as unsupported).

Solution #2:
Invoke an action in lockdown items. action://clear_cache...etc.

However this only seems to support configuring wifi/pw change: https://discussions.soti.net/thread/are-they-any-other-mobicontrol-actions-possible-to-be-used-from-the-kiosk-mode-lockdown/

How do I go about this?

5 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 28 November 2018

It would not be particularly elegant but uninstalling and reinstalling the app would have the effect of clearing the app cache. You could deliver the Surf apk as a file to the device and then have a "Logout" script that uninstalls the app and then reinstalls it.

  • 0
  • 0
Raymond Chan | posted this 28 November 2018

For your device end-user to clear Soti Surf cached content from his/her device kiosk menu, just add the following script associated with your kiosk menu item:

  sendinfo  net.soti.action.surf  clearcache

  • 0
  • 0
Ole, Daugaard | posted this 29 November 2018

thank you both. The sendinfo script did indeed work. Thanks!

  • 0
  • 0
Ole, Daugaard | posted this 29 November 2018

On a further note :-)

 

Do you have any other script command that can kill/restart the surf app activity (which will work with AE, since the kill_application does not work) ? 

 

Right now the user is prompted to restart surf after the script command has been run.

 

Brgds,

Ole 

  • 0
  • 0
Allen Foster | posted this 15 January 2020

how would you implement the sendinfo command as a lock screen item.  I am trying to do the clear cache for soti surf as a extra button on the lock screen.

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback