Reference
cdp_restart
Reset and reconnect the authority-bound Hermes client. hardReset relaunches only the exact claimed iOS simulator or Android device/app; success requires a fresh signed runtime binding committed under the operation fence.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
metroPort | unknown | No | Authority-bound Metro port; conflicting values are refused | ||
platform | unknown | No | Authority-bound platform; conflicting values are refused | ||
deviceId | unknown | No | Authority-bound exact device identifier; normally injected by the session | ||
appId | unknown | No | Authority-bound exact app identifier; normally injected by the session | ||
hardReset | unknown | No | |||
bundleId | unknown | No |
cdp_restart()