Closed sandeep36butte closed 2 days ago
My Bad was setting the newArchEnabled and hermesEnabled in boolenformat in rootproject. Beacuse of which inside the buildscripts of the rn-worklets-core package the newArchEnable checking is getting false and falling bvack to old architecture build.
Setting these in string format have resolved the issue.
Description
I added couple of dependencies react-native-vision-camera and react-native-worklets-core when building the application getting error realted to codegen folder not present.But for react-native-worklets-core even before the task:generateCodegenArtifactsFromSchema run the cmake autogerenated file trying to link it.So getting error since the codegen file is still not there in the build folder. Might I have a setup wrongly configured or missed something to schedule the codegenartifiactsschema to run before the cmake linking of files. generatecodegenartifactschema running for vision-camera fine. FYI: Same setup works fine with newArch disabled or project bootstrapped with npx react-native init
Steps to reproduce
This is the brownfield app. Git clone the repo: https://github.com/sandeep36butte/RNBrownFeldApp yarn start and run on android
React Native Version
0.76.1
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/sandeep36butte/RNBrownFeldApp/tree/main
Screenshots and Videos
No response