We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extraModulesForBridge
RCTInstance
1 parent b50a12f commit 7d8a1bbCopy full SHA for 7d8a1bb
packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTInstance.mm
@@ -177,6 +177,13 @@ - (void)registerSegmentWithId:(NSNumber *)segmentId path:(NSString *)path
177
178
#pragma mark - RCTTurboModuleManagerDelegate
179
180
+- (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge {
181
+ if ([_appTMMDelegate respondsToSelector:@selector(extraModulesForBridge:)]) {
182
+ return [_appTMMDelegate extraModulesForBridge:bridge];
183
+ }
184
+ return @[];
185
+}
186
+
187
- (Class)getModuleClassFromName:(const char *)name
188
{
189
if ([_appTMMDelegate respondsToSelector:@selector(getModuleClassFromName:)]) {
0 commit comments