App Cache

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Akt
Posts: 133
Joined: 25 May 2014 08:57

App Cache

Post by Akt » 02 Oct 2014 04:15

Hi martin,

Very useful action to delete app cache but please add an option to select all application at one click......

And also if total cache exceeds specified amount of mb, then it should automatically delete cache....

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: App Cache

Post by Martin » 02 Oct 2014 12:24

Hi,

To my knowledge there's no good API to get notified about cache usage changes so best I could offer would be a condition to check the amount of used cache (total or per app/package). I add this to the list of features under consideration but I'm not sure how much time it would need to check all apps.

Clearing the cache of all apps could probably be done using Execute Root Command: pm trim-caches 99999M. The command might not be available on all Android versions. The documentation provided by the command is quite short:
pm trim-caches: trim cache files to reach the given free space.
Regards,
Martin

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: App Cache

Post by Akt » 04 Oct 2014 08:28

Thanx Martin for the reply.....

User avatar
juvete
Posts: 13
Joined: 29 Mar 2013 22:01

Re: App Cache

Post by juvete » 21 Jun 2017 16:30

I just published a flow that cleans the cache of all installed apps.
Please have a look here:
viewtopic.php?f=3&t=6745

Locked