Skip to content

Commit d3cb26c

Browse files
committed
chore: temporarily disable throwIfOnLegacyArch in RCTBridge
1 parent 85138c0 commit d3cb26c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-native/React/Base/RCTBridge.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,10 @@ - (instancetype)initWithDelegate:(id<RCTBridgeDelegate>)delegate
380380
moduleProvider:(RCTBridgeModuleListProvider)block
381381
launchOptions:(NSDictionary *)launchOptions
382382
{
383-
// Only enabld this assertion in OSS
384-
#if COCOAPODS
385-
[RCTBridge throwIfOnLegacyArch];
386-
#endif
383+
// Only enable this assertion in OSS
384+
//#if COCOAPODS
385+
// [RCTBridge throwIfOnLegacyArch];
386+
//#endif
387387

388388
if (self = [super init]) {
389389
RCTEnforceNewArchitectureValidation(RCTNotAllowedInBridgeless, self, nil);

0 commit comments

Comments
 (0)