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:

  1. Validating the app’s cold start performance

  2. Resetting the app before switching to another application

  3. Ensuring the app does not retain previous session context

  4. Testing recovery flows after force-close scenarios

  5. Handling inconsistent states caused by incomplete exits or background hangs

Last updated

Was this helpful?