SIGN IN SIGN UP

fix(react-native): respect ph-no-capture above maxElementsCaptured (#4649)

* Fix #4648: fix(react-native): ph-no-capture ignored past maxElementsCaptured

* fix(react-native): bound the ancestor walk instead of the opt-out check

maxElementsCaptured now caps only the emitted payload; the walk continues so a
ph-no-capture ancestor above the cap is still honoured, with a fail-closed bound
on chain length.

* chore(react-native): note the changeset now covers clicks too

* fix(react-native): fall back to the default element cap on a non-numeric maxElementsCaptured

* chore(react-native): keep expoconfig.ts byte-identical to main

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anna Garcia <anna.g@posthog.com>
Co-authored-by: Ioannis J <yiannis@posthog.com>
G
github-actions[bot] committed
ec78decc4aa982556566b31cb5ae1342f00cb05d
Parent: 35dcb94
Committed by GitHub <noreply@github.com> on 8/26/2026, 8:04:29 AM