Reference
device_reset_state
Reset permissions/storage and relaunch the authority-bound app on its exact claimed device, then reconnect and re-prove the session target.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
appId | unknown | No | Authority-bound app identifier; normally injected by the session | ||
platform | unknown | No | Authority-bound platform; conflicting values are refused | ||
deviceId | unknown | No | Authority-bound exact device identifier; normally injected by the session | ||
permissions | unknown | No | |||
storageKeys | unknown | No | |||
mmkvInstanceId | unknown | No | Forwarded to cdp_mmkv. Defaults to mmkv.default. | ||
relaunch | boolean | No | Launch the app after terminate. Default true. | ||
waitForReady | unknown | No | |||
waitForNavReady | unknown | No |
device_reset_state()