Skip to content

RCTReactNativeFactory remove RCTBridge methods and bridge property (#57067)#57067

Open
christophpurrer wants to merge 1 commit into
facebook:mainfrom
christophpurrer:export-D107417684
Open

RCTReactNativeFactory remove RCTBridge methods and bridge property (#57067)#57067
christophpurrer wants to merge 1 commit into
facebook:mainfrom
christophpurrer:export-D107417684

Conversation

@christophpurrer
Copy link
Copy Markdown
Contributor

@christophpurrer christophpurrer commented Jun 3, 2026

Summary:

Removes RCTBridge-related functions from RCTReactNativeFactory protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes createBridgeWithDelegate:launchOptions:, createRootViewWithBridge:moduleName:initProps:, and the bridge property. The bridgeAdapter property is preserved as it returns RCTSurfacePresenterBridgeAdapter, not RCTBridge. Updates documentation in RCTAppDelegate.h to reflect the removed overridable methods.

Changelog:

[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 3, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Jun 3, 2026

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107417684.

@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Jun 3, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 3, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
@meta-codesync meta-codesync Bot changed the title RCTReactNativeFactory remove RCTBridge methods and bridge property RCTReactNativeFactory remove RCTBridge methods and bridge property (#57067) Jun 3, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 3, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 3, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 4, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Jun 4, 2026
…acebook#57067)

Summary:

Removes `RCTBridge`-related functions from `RCTReactNativeFactory` protocol and default delegate implementation as part of cleaning up legacy architecture APIs.

Removes `createBridgeWithDelegate:launchOptions:`, `createRootViewWithBridge:moduleName:initProps:`, and the `bridge` property. The `bridgeAdapter` property is preserved as it returns `RCTSurfacePresenterBridgeAdapter`, not `RCTBridge`. Updates documentation in `RCTAppDelegate.h` to reflect the removed overridable methods.

## Changelog: 
[iOS][Breaking] Remove RCTBridge Functions from RCTReactNativeFactory Header

Differential Revision: D107417684
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant