How to clear Soti Surf cache upon opening the app?

IK
Ivan Keri-Nagy
BAT Pecsi Dohanygyar Kft. (British American Tobacco)

Hi!

We have an app through soti surf, but sometimes it has bugs, which could be fixed by clearing the cache.

However it would be much easier if everytime the surf app would be opened, the cache would clear itself just like the cookies.

Is there any way to do this? Unfortunately disabling the cache is not an option, because the app that we use needs it.

Thanks!

4 years ago
SOTI surf
ANSWERS
RC
Raymond Chan Diamond Contributor
4 years ago

Do you start the Soti Surf app from Kiosk/Lockdown mode?

IK
Ivan Keri-Nagy
4 years ago

Yes we use it in KIOSK mode

RC
Raymond Chan Diamond Contributor
4 years ago

Then you can use scipt instead of launch:// in your kiosk item, and clear Soti Surf cache before running Soti Surf in your script. 

IK
Ivan Keri-Nagy
4 years ago

And how to do that?

RC
Raymond Chan Diamond Contributor
4 years ago

Deploy onto a script file (say t.cmd in the device directory %sdcard%/abc) with the following content:

  sendinfo net.soti.action.surf clearcache

  start  net.soti.surf

Then use 

   script://%sdcard/abc/t.cmd

for your kiosk item.