by Pat Matthews
Version 1 (May 4, 2019)
Download (144 downloads)
Check if app has a running process in foreground or background too.
Solved by using a superuser shell command "pidof"
INSTRUCTIONS:
You should edit the flow to add your package name after pidof superuser shell.
pidof PUT.AppPACKAGE.NAME
Example:
pidof com.whatsapp
Note: Dont forget to connect flows.