This reproducer demonstrates a bug in react-native
where the codegen is not properly excluding libraries that are disabled in the react-native.config.js
file.
- Run
yarn install
/npm install
- Run codegen or install pods
npx pod-install
- Check that codegen didn't exclude
react-native-screens
from:ios/build/generated/ios/RCTThirdPartyComponentsProvider.mm
The codegen should properly exclude the libraries that are disabled in the react-native.config.js
file.
Test expected behaviour and patch with npx patch-package