Files
paseo/public-docs/plugins
Mohamed Boudra 01aced8cd2 fix(app): keep uncaught plugin errors from crashing the native app (#11412)
React Native reports an error thrown out of a press handler, timer,
animation frame, or microtask to ErrorUtils as fatal, so one bad plugin
callback terminated a release app. The plugin error boundary only covers
render and effects.

Client bundles now evaluate with a paseo-plugin://<server>/<plugin>
source URL, and a wrapped global handler logs errors whose stack has a
plugin frame instead of forwarding them. Errors without a plugin frame
reach the previous handler unchanged.

Hermes prints an empty source for new Function code and records no
creation site, so the bundle receives a Function that appends a source
URL to code it compiles. Code compiled through eval, globalThis.Function,
or from already compiled code stays unattributed and fatal.

Refs #10978
2026-11-30 15:45:16 +07:00
..