Skip to content

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.

NameTypeRequiredDefaultConstraintsDescription
metroPortnumberNoAuthority-bound Metro port; conflicting values are refused
platformenum: ios | androidNoAuthority-bound platform; conflicting values are refused
deviceIdstringNoAuthority-bound exact device identifier; normally injected by the session
appIdstringNoAuthority-bound exact app identifier; normally injected by the session
hardResetbooleanNoRelaunch the exact session app on its claimed iOS or Android device before reconnecting.
bundleIdstringNoCompatibility alias for the authority-bound appId; conflicting values are refused.
cdp_restart()