Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TM] Add TurboModules (jsireact) to Xcode project #25031

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
fix missing bits
  • Loading branch information
radex committed May 24, 2019
commit 3e0f5a928ef48e087fed435d5301f28ddb46508e
8 changes: 4 additions & 4 deletions RNTester/RNTester/RNTesterTurboModuleProvider.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#import "RNTesterTurboModuleProvider.h"

//#import <jsireact/SampleTurboCxxModule.h>
#import <jsireact/SampleTurboCxxModule.h>
#import <jsireact/RCTSampleTurboModule.h>

// NOTE: This entire file should be codegen'ed.
Expand All @@ -19,9 +19,9 @@
namespace react {

std::shared_ptr<TurboModule> RNTesterTurboModuleProvider(const std::string &name, std::shared_ptr<JSCallInvoker> jsInvoker) {
// if (name == "SampleTurboCxxModule") {
// return std::make_shared<SampleTurboCxxModule>(jsInvoker);
// }
if (name == "SampleTurboCxxModule") {
return std::make_shared<SampleTurboCxxModule>(jsInvoker);
}

return nullptr;
}
Expand Down