You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f9c7007
Browse filesBrowse the repository at this point in the historyBrowse files
Move RecoverableError to its own target and the frameworks tier (#59027)
Summary:
Pull Request resolved: #59027
`cxxreact/RecoverableError.h` was exported only by `cxxreact:bridge` and guarded as private, so libraries could not use it under `RN_STRICT_API`, and the bridgeless Android runtime had to depend on the bridge to get it.
- Add a header-only `cxxreact:recoverableerror` target. The include path stays `<cxxreact/RecoverableError.h>`; `cxxreact:bridge` re-exports it for existing users.
- Move the header from the private tier to "for frameworks" (`FrameworksGuard.h`).
- `ReactAndroid`'s `runtime/jni` depends on `cxxreact:recoverableerror` instead of `cxxreact:bridge`.
- Remove the unused include from `Instance.cpp`.
Changelog:
[General][Changed] - Move `RecoverableError` from private headers to "for frameworks" headers
Reviewed By: cipolleschi
Differential Revision: D124957581
fbshipit-source-id: 647921290590d0b748e80f5161f87879d9c5b808
0 commit comments