cdp_navigate
Navigate to any screen by name, including nested stack screens that NAV_REF.navigate() cannot reach. Builds a nested dispatch action by walking the navigation state tree. Works across tabs, stacks, and modals.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
screen | string | Yes | Screen name to navigate to (e.g. “AllTasks”, “Dashboard”, “ProfileEditModal”) | ||
params | Record<string, unknown> | No | Screen params (e.g. { id: “1” }) |
cdp_navigate(screen: <string>)