You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Drozer agent app isn't in focus on the device, most of the commands I run from the Drozer console (like starting activities) don't do anything, no errors, just nothing happens.
But if I bring the Drozer app to the foreground first (i.e., open it manually and leave it on screen), then the same commands work fine.
I tested the same actions using ADB, and ADB can launch those activities even when Drozer is in the background. I recorded a video showing this side-by-side and will attach it here.
Is this expected behavior due to Android background execution restrictions? Is there a recommended workaround for this (maybe running a foreground service or something similar)?
Hello, I'm running into an issue with Drozer.
2025-05-31.18-07-41.mp4
If the Drozer agent app isn't in focus on the device, most of the commands I run from the Drozer console (like starting activities) don't do anything, no errors, just nothing happens.
But if I bring the Drozer app to the foreground first (i.e., open it manually and leave it on screen), then the same commands work fine.
I tested the same actions using ADB, and ADB can launch those activities even when Drozer is in the background. I recorded a video showing this side-by-side and will attach it here.
Is this expected behavior due to Android background execution restrictions? Is there a recommended workaround for this (maybe running a foreground service or something similar)?
Thank you.