Describe the bug
I modified react native, so I must build from source. (React native is modified with patch, so inside node_modules folder). When I try to build app with opsqlite as dependency i got multiple errors, this is the first :
C/C++: ld.lld: error: undefined symbol: facebook::jsi::HostObject::~HostObject() C/C++: >>> referenced by SmartHostObject.h:13 . It's like jsi is not definded ?
The errors are not from my patches, because I try with 0 modification, only build from source, and got the same errors.
Versions:
- OS and version: Android build
- React native : 0.75.3
- op-sqlite version: 8.0.2
Link Reproducible example
Just add this inside your settings.gradle :
includeBuild('../node_modules/react-native') {
dependencySubstitution {
substitute(module("com.facebook.react:react-android")).using(project(":packages:react-native:ReactAndroid"))
substitute(module("com.facebook.react:react-native")).using(project(":packages:react-native:ReactAndroid"))
substitute(module("com.facebook.react:hermes-android")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
substitute(module("com.facebook.react:hermes-engine")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
}
}
And build
Describe the bug
I modified react native, so I must build from source. (React native is modified with patch, so inside node_modules folder). When I try to build app with opsqlite as dependency i got multiple errors, this is the first :
C/C++: ld.lld: error: undefined symbol: facebook::jsi::HostObject::~HostObject() C/C++: >>> referenced by SmartHostObject.h:13. It's like jsi is not definded ?The errors are not from my patches, because I try with 0 modification, only build from source, and got the same errors.
Versions:
Link Reproducible example
Just add this inside your settings.gradle :
And build