Clear app cache action

Brad1998

New member
Hi, I see that there is already a clear app storage action in macrodroid but could it be possible to add a clear app cache action as some apps use alot of cache storage and would be nice to automatically clear them. Thanks.
 

jagg

New member
If its any help, File Manager + has functionality top clear app cache directly from the app, it is found from the app main menu go to storage analysis->cache files and you can clear cache files by app.
 

Brad1998

New member
If one app has this functionality to clear cache, is it also possible to implement this function into macrodroid as well?
 

NativeAlien

New member
Automate has this as a native flow action, and i'm actually surprised that I haven't seen this implemented natively in macrodroid. It does require root and it's actually something i use since macrodroid doesn't support it. To use this, create a flow in Automate linking the beginning block and the "clear app cache" block specifying the app package's cache you wish to clear and use it as a shortcut in macrodroid. You can also use this same general method to link other automation apps together for a really powerful galaxy of automation options beyond just using macrodroid.
 

Brad1998

New member
That's actually very helpful thanks. I am new to automate and interested in this galaxy of automation software, how would I run a flow from automate using a macro from macrodroid and vice versa?
 

NativeAlien

New member
That's actually very helpful thanks. I am new to automate and interested in this galaxy of automation software, how would I run a flow from automate using a macro from macrodroid and vice versa?
use the
Code:
shortcut launched
action and use
Code:
flow shortcut
as an option.

To create a flow in automate to clear the cache use the
Code:
clear app cache
block and connect it with the out fiber node of the beginning block.

so it'll look like [beginning block]•----•[clear (app package name) cache block]

Save it and give it a name, then use it as a shortcut in macrodroid.
 
Top