Open cipolleschi opened 1 week ago
0.76
https://github.com/facebook/react-native/commit/b8419b2eed772ecaa927a5ac777150d8a8f7b6c5
The OnLoad.cpp always imports the <autolinking.h> file even in the Old Architecture but that file is only generated when the New Architecture is enabled.
OnLoad.cpp
<autolinking.h>
This changes add a check to make sure that we import the file only when it actually exists.
Target Branch(es)
0.76
Link to commit or PR to be picked
https://github.com/facebook/react-native/commit/b8419b2eed772ecaa927a5ac777150d8a8f7b6c5
Description
The
OnLoad.cpp
always imports the<autolinking.h>
file even in the Old Architecture but that file is only generated when the New Architecture is enabled.This changes add a check to make sure that we import the file only when it actually exists.