Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#import <React/RCTBridgeDelegate.h>
#import <React/RCTConvert.h>
#import <UIKit/UIKit.h>
#import "RCTArchConfiguratorProtocol.h"
#import "RCTDependencyProvider.h"
#import "RCTJSRuntimeConfiguratorProtocol.h"
#import "RCTRootViewFactory.h"
Expand Down Expand Up @@ -39,8 +38,7 @@ typedef NS_ENUM(NSInteger, RCTReleaseLevel) { Canary, Experimental, Stable };
RCTTurboModuleManagerDelegate,
RCTComponentViewFactoryComponentProvider,
#endif
RCTJSRuntimeConfiguratorProtocol,
RCTArchConfiguratorProtocol>
RCTJSRuntimeConfiguratorProtocol>

/// Return the bundle URL for the main bundle.
- (NSURL *__nullable)bundleURL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,28 +132,6 @@ - (JSRuntimeFactoryRef)createJSRuntimeFactory
return [_delegate createJSRuntimeFactory];
}

#pragma mark - RCTArchConfiguratorProtocol

- (BOOL)newArchEnabled
{
return YES;
}

- (BOOL)fabricEnabled
{
return YES;
}

- (BOOL)turboModuleEnabled
{
return YES;
}

- (BOOL)bridgelessEnabled
{
return YES;
}

#pragma mark - RCTTurboModuleManagerDelegate

- (Class)getModuleClassFromName:(const char *)name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#import "RCTAppDelegate.h"
#import "RCTAppSetupUtils.h"
#import "RCTArchConfiguratorProtocol.h"
#import "RCTDefaultReactNativeFactoryDelegate.h"
#import "RCTDependencyProvider.h"
#import "RCTJSRuntimeConfiguratorProtocol.h"
Expand Down
7 changes: 0 additions & 7 deletions packages/rn-tester/RNTester/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,6 @@ - (void)userNotificationCenter:(UNUserNotificationCenter *)center
}
#endif

#pragma mark - New Arch Enabled settings

- (BOOL)bridgelessEnabled
{
return YES;
}

#pragma mark - RCTComponentViewFactoryComponentProvider

#ifndef RN_DISABLE_OSS_PLUGIN_HEADER
Expand Down
9 changes: 1 addition & 8 deletions scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -2608,13 +2608,6 @@ protocol RCTAnimationDriver : public NSObject {
public virtual void stopAnimation();
}

protocol RCTArchConfiguratorProtocol {
public virtual BOOL bridgelessEnabled();
public virtual BOOL fabricEnabled();
public virtual BOOL newArchEnabled();
public virtual BOOL turboModuleEnabled();
}

protocol RCTAutoInsetsProtocol {
public @property (assign) BOOL automaticallyAdjustContentInsets;
public @property (assign) UIEdgeInsets contentInset;
Expand Down Expand Up @@ -2985,7 +2978,7 @@ protocol RCTPullToRefreshViewViewProtocol : public NSObject {
public virtual void setNativeRefreshing:(BOOL refreshing);
}

protocol RCTReactNativeFactoryDelegate : public RCTBridgeDelegate, public RCTUIConfiguratorProtocol, public RCTHostDelegate, public RCTTurboModuleManagerDelegate, public RCTComponentViewFactoryComponentProvider, public RCTJSRuntimeConfiguratorProtocol, public RCTArchConfiguratorProtocol {
protocol RCTReactNativeFactoryDelegate : public RCTBridgeDelegate, public RCTUIConfiguratorProtocol, public RCTHostDelegate, public RCTTurboModuleManagerDelegate, public RCTComponentViewFactoryComponentProvider, public RCTJSRuntimeConfiguratorProtocol {
public @property (strong) id<RCTDependencyProvider> dependencyProvider;
public virtual NSDictionary<NSString*, Class<RCTComponentViewProtocol>>* thirdPartyFabricComponents();
public virtual NSURL* _Nullable bundleURL();
Expand Down
9 changes: 1 addition & 8 deletions scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -2596,13 +2596,6 @@ protocol RCTAnimationDriver : public NSObject {
public virtual void stopAnimation();
}

protocol RCTArchConfiguratorProtocol {
public virtual BOOL bridgelessEnabled();
public virtual BOOL fabricEnabled();
public virtual BOOL newArchEnabled();
public virtual BOOL turboModuleEnabled();
}

protocol RCTAutoInsetsProtocol {
public @property (assign) BOOL automaticallyAdjustContentInsets;
public @property (assign) UIEdgeInsets contentInset;
Expand Down Expand Up @@ -2972,7 +2965,7 @@ protocol RCTPullToRefreshViewViewProtocol : public NSObject {
public virtual void setNativeRefreshing:(BOOL refreshing);
}

protocol RCTReactNativeFactoryDelegate : public RCTBridgeDelegate, public RCTUIConfiguratorProtocol, public RCTHostDelegate, public RCTTurboModuleManagerDelegate, public RCTComponentViewFactoryComponentProvider, public RCTJSRuntimeConfiguratorProtocol, public RCTArchConfiguratorProtocol {
protocol RCTReactNativeFactoryDelegate : public RCTBridgeDelegate, public RCTUIConfiguratorProtocol, public RCTHostDelegate, public RCTTurboModuleManagerDelegate, public RCTComponentViewFactoryComponentProvider, public RCTJSRuntimeConfiguratorProtocol {
public @property (strong) id<RCTDependencyProvider> dependencyProvider;
public virtual NSDictionary<NSString*, Class<RCTComponentViewProtocol>>* thirdPartyFabricComponents();
public virtual NSURL* _Nullable bundleURL();
Expand Down
9 changes: 1 addition & 8 deletions scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -2608,13 +2608,6 @@ protocol RCTAnimationDriver : public NSObject {
public virtual void stopAnimation();
}

protocol RCTArchConfiguratorProtocol {
public virtual BOOL bridgelessEnabled();
public virtual BOOL fabricEnabled();
public virtual BOOL newArchEnabled();
public virtual BOOL turboModuleEnabled();
}

protocol RCTAutoInsetsProtocol {
public @property (assign) BOOL automaticallyAdjustContentInsets;
public @property (assign) UIEdgeInsets contentInset;
Expand Down Expand Up @@ -2985,7 +2978,7 @@ protocol RCTPullToRefreshViewViewProtocol : public NSObject {
public virtual void setNativeRefreshing:(BOOL refreshing);
}

protocol RCTReactNativeFactoryDelegate : public RCTBridgeDelegate, public RCTUIConfiguratorProtocol, public RCTHostDelegate, public RCTTurboModuleManagerDelegate, public RCTComponentViewFactoryComponentProvider, public RCTJSRuntimeConfiguratorProtocol, public RCTArchConfiguratorProtocol {
protocol RCTReactNativeFactoryDelegate : public RCTBridgeDelegate, public RCTUIConfiguratorProtocol, public RCTHostDelegate, public RCTTurboModuleManagerDelegate, public RCTComponentViewFactoryComponentProvider, public RCTJSRuntimeConfiguratorProtocol {
public @property (strong) id<RCTDependencyProvider> dependencyProvider;
public virtual NSDictionary<NSString*, Class<RCTComponentViewProtocol>>* thirdPartyFabricComponents();
public virtual NSURL* _Nullable bundleURL();
Expand Down
Loading