Skip to content

Commit 5495eb0

Browse files
RNTester / RCTReactNativeFactory remove unused new architecture flags
Summary: Changelog: [INTERNAL] Values are already `true`/YES ``` [[RCTRootViewFactoryConfiguration alloc] initWithBundleURLBlock:bundleUrlBlock newArchEnabled:YES turboModuleEnabled:YES bridgelessEnabled:YES]; ``` Differential Revision: D107305248
1 parent f85b15b commit 5495eb0

2 files changed

Lines changed: 0 additions & 29 deletions

File tree

packages/react-native/Libraries/AppDelegate/RCTReactNativeFactory.mm

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -132,28 +132,6 @@ - (JSRuntimeFactoryRef)createJSRuntimeFactory
132132
return [_delegate createJSRuntimeFactory];
133133
}
134134

135-
#pragma mark - RCTArchConfiguratorProtocol
136-
137-
- (BOOL)newArchEnabled
138-
{
139-
return YES;
140-
}
141-
142-
- (BOOL)fabricEnabled
143-
{
144-
return YES;
145-
}
146-
147-
- (BOOL)turboModuleEnabled
148-
{
149-
return YES;
150-
}
151-
152-
- (BOOL)bridgelessEnabled
153-
{
154-
return YES;
155-
}
156-
157135
#pragma mark - RCTTurboModuleManagerDelegate
158136

159137
- (Class)getModuleClassFromName:(const char *)name

packages/rn-tester/RNTester/AppDelegate.mm

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,6 @@ - (void)userNotificationCenter:(UNUserNotificationCenter *)center
159159
}
160160
#endif
161161

162-
#pragma mark - New Arch Enabled settings
163-
164-
- (BOOL)bridgelessEnabled
165-
{
166-
return YES;
167-
}
168-
169162
#pragma mark - RCTComponentViewFactoryComponentProvider
170163

171164
#ifndef RN_DISABLE_OSS_PLUGIN_HEADER

0 commit comments

Comments
 (0)