KILL_APP
The KILL_APP command force-closes the currently running app and removes it from background memory. This is used when a clean relaunch is required to test cold-start behavior or to reset app state during multi-app flows.
Syntax: KILL_APP
When to use:
Validating the app’s cold start performance
Resetting the app before switching to another application
Ensuring the app does not retain previous session context
Testing recovery flows after force-close scenarios
Handling inconsistent states caused by incomplete exits or background hangs
Last updated
Was this helpful?