So currently I have a clear cache script that i deploy to our devices via a profile and it puts clearcache.scr file in the root of the device and i have an icon on the lock screen to call this script and it will clear cache on the selected applications. What I am trying to figure out is there a way i can have a prompt in this script that if they answer yes it runs and if they answer no it will just exit?
The current contents of the clearcache.scr file is below:
wipeapplication com.overvyoo.client
sleep 1
wipeapplication com.dar
sleep 1
wipeapplication net.soti.surf
sleep 1
wipeapplication com.android.chrome
sleep 1