SOTI surf

R,
Ross , Hathaway
Peak-Ryzex plc (UK)

Is there a way to run a script when an app closes? Basically, trying to wipe SOTI Surf when it closes, fresh for the next user.

At the moment it’s keeping users logged in, I tried clear history and delete cookies on start up but it’s like the apps instance doesn’t fully close…

6 years ago
SOTI surf
ANSWERS
RC
Raymond Chan Diamond Contributor
6 years ago (edited 6 years ago)

This can be quite tricky. 

What are the version and build numbers of your MobiControl server and the device platform(s)  (Android+, Android-Enterprise, iOS, Winodws, etc.) you are using?

Are you using kiosk/lockdown menu on your devices?  And is there any authentication (e.g. AD/LDAP account) when accessing the lockdown or your Soti Surf?

C
Christophe
6 years ago

Hello roos,

i'm not an expert but have you got try to clear soti cache ?

click on device , and select clear soti cache

R,
Ross , Hathaway
6 years ago

Using kiosk to lock down the devices.

No AD/LDAP account

Clearing the cache would work but thats not really a solution as that requires manual intervention

MD
Matt Dermody Diamond Contributor
6 years ago

You could try clearing out the whole Android app cache with the wipeapplication script. If you use the SOTI lockdown you can create a shortcut to a script that calls wipeapplication and then starts the app. To the end user it will look like they're just launching Surf directly but it technically will be wiping the application before it launches. 

RC
Raymond Chan Diamond Contributor
6 years ago (edited 6 years ago)

I actually heard more voices requesting Soti Surf to keep previous SURF session context in case the home key or other events cause temporary exit to the kiosk menu or other UI screen.  Your requirements seem to be the opposite.  This can be annoying as end-user might need to press many keys or authenticate again if he/she accidental pres the wrong key(s) that cause permanent exit from the Soti Surf session.

As I just found out that the "start" script command no longer works with Soti Surf on the latest v13.7.x device agent,  I believe it is now more difficult to achieve what you want cleanly with one lockdown menu item.   If you can tolerate having a second lockdown menu item that give the device end-user an option to clean up all cached data/history associated with Soti Surf, then it is possible to associate this second menu item with a script including the following

  sendinfo net.soti.action.surf clearcache

which is much lighter than the "wipeapplicaiton" script command.

R,
Ross , Hathaway
6 years ago

Matt how do you run a script and launch an application at the same time?