Clear App Data
Overview
Section titled “Overview”Wipe all app data including databases, shared preferences, and cache. The app will behave as if freshly installed.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
packageName | string | Yes | — | Application package name |
deviceId | string | No | — | Target device serial |
Examples
Section titled “Examples”Clear all data for com.example.myapp
Reset my app to fresh state
Related Tools
Section titled “Related Tools”- Stop App — Stop without clearing data
- Launch App — Relaunch after clearing