Skip to content

[0.74] fix: add missing fields to native errors in new arch #199

Closed
@cipolleschi

Description

@cipolleschi

Target Branch(es)

0.74

Link to commit or PR to be picked

facebook/react-native@98b1331

Description

With 0.74.rc-5 one bug which related to errors was fixed (facebook/react-native#41950). However, the fix introduced another one: the shape of Error objects that come from native modules has changed. This PR attempts to fix that, though it's not (yet) doing it in a way that would be 100% compatible with the old arch.

The problem was observed on iOS, not sure what the situation is on Android but believe it's okay there.

See facebook/react-native#43649 for more details

Metadata

Metadata

Assignees

Labels

Type Pick RequestPick requests to include commits inside a React Native release

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions