cdp_native_errors
Read native-level error logs for when JS-layer tools come up empty. iOS spawns xcrun simctl log show, Android uses adb logcat -d. Catches errors that fire BEFORE __RN_AGENT injects (missing native module, bundle load failure, native crash). Returns filtered + deduped error/fatal entries. Platform defaults to the CDP-connected target.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
platform | `enum: ios | android` | No | ||
sinceSeconds | number | No | min: 5, max: 3600, integer | How far back to look (default 60s, max 3600) | |
limit | number | No | min: 1, max: 100, integer | Max entries to return (default 10, max 100) |
cdp_native_errors()