Open ObscurusGrassator opened 1 week ago
In new architecture I by instruction add
`include(${REACT_ANDROID_DIR}/cmake-utils/ReactNative-application.cmake)
line to CMakeLists.txt and copy OnLoad.cpp file from node_module to directory with CMakeLists.txt.
Can you clarify what you're attempting to do here?
I need to run user c++ code.
At first I had a problem with EarlyJsError, so I follow your https://github.com/facebook/react-native/issues/47352#issuecomment-2455303986 advice
In new architecture I by instruction add
`include(${REACT_ANDROID_DIR}/cmake-utils/ReactNative-application.cmake)
line to CMakeLists.txt and copy OnLoad.cpp file from node_module to directory with CMakeLists.txt.
Now I don't have that problem anymore, but C++ still can't be compiled, and I get errors that seem to have nothing to do with my C++.
Description
In old architecture this work ok.
In new architecture I (by instruction of https://github.com/facebook/react-native/issues/47352#issuecomment-2455303986) add
`include(${REACT_ANDROID_DIR}/cmake-utils/ReactNative-application.cmake)
line to CMakeLists.txt and copy OnLoad.cpp file from node_module to directory with CMakeLists.txt.Steps to reproduce
React Native Version
0.76.3
Affected Platforms
Runtime - Android, Build - MacOS
Areas
Bridgeless - The New Initialization Flow
Output of
npx react-native info
/android/app/build.gradle:
Stacktrace or Logs
Reproducer
a
Screenshots and Videos
No response