Skip to content

Brownfield using xcframework integration #4174

Answered by taboulot
taboulot asked this question in Q&A
Discussion options

You must be logged in to vote

I come back with the solution we found.

The main problem is: how to execute the installation code that is normally called automatically?

I'm talking about this:

- (std::unique_ptr<facebook::react::JSExecutorFactory>)jsExecutorFactoryForBridge:(RCTBridge *)bridge
{
const auto installer = reanimated::REAJSIExecutorRuntimeInstaller(bridge, NULL);
#if REACT_NATIVE_MINOR_VERSION >= 64
// installs globals such as console, nativePerformanceNow, etc.
return std::make_unique<ExecutorFactory>(RCTJSIExecutorRuntimeInstaller(installer));
#else
return std::make_uni…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@datns
Comment options

Answer selected by taboulot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants