killApp
Force stop an app and optionally clear all its data and cache.
Syntax
# Terminates the default app
- killApp
# Terminates a specific app
- killApp:
appId: "com.example.otherapp"Usage examples
# trigger-process-death.yaml
appId: com.example
---
- pressKey: Home # Puts the app into the background
- killApp # Kills the app via system-initiated process death
- launchApp: # Relaunches the app
stopApp: false # Don't attempt a clean stop of the app firstBest practices
Related commands
Last updated