Skip to content

Commit

Permalink
Add extraModulesForBridge impl to RCTInstance (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanjhughes authored Sep 29, 2024
1 parent 04eeb55 commit 5b62a66
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ - (void)registerSegmentWithId:(NSNumber *)segmentId path:(NSString *)path

#pragma mark - RCTTurboModuleManagerDelegate

- (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge {
if ([_appTMMDelegate respondsToSelector:@selector(extraModulesForBridge:)]) {
return [_appTMMDelegate extraModulesForBridge:bridge];
}
return @[];
}

- (Class)getModuleClassFromName:(const char *)name
{
if ([_appTMMDelegate respondsToSelector:@selector(getModuleClassFromName:)]) {
Expand Down

0 comments on commit 5b62a66

Please sign in to comment.