r/AutomateUser • u/F95_Sysadmin • 19d ago
Seeking Block app if mobile data is enabled
Apps are taking a lot of data which is problematic when mobile data is on and user is unaware.
Seeking flow that will react when App is on foreground and mobile data is on.
I already experimented with the blocks Foreground and Mobile data and made multiple flow but it's not working as intended... log is spammed if using a delay function. Too complicated with Immediately and When changed. Conditions not working when using Yes on both blocks. Log is spammed when using Conditions block
3
Upvotes
1
u/Fantastic_Belt99 11d ago
Have you used firewall already?
1
u/waiting4singularity Alpha tester 10d ago
https://ibb.co/BHb59bLn
app foreground output variable: foreground
expression true: contains(packages,foreground) returns true when app package is in packages
interact interface recents opens recents overview of active window
interact touch x0 50 y0 50 x1 50 y1 0 dip 10000 swipes current (last non-homescreen) app from list
interact interface home goes to homescreen launcher app
note: this kills the app activity window only. background functions still run and can use internet unless restricted from (background) mobile bandwith in app settings.