Skip to content

Classify RCTTurboModuleManager.h as for-frameworks - #58948

Open
coado wants to merge 1 commit into
react:mainfrom
coado:export-D124079995
Open

coado wants to merge 1 commit into
react:mainfrom
coado:export-D124079995

Conversation

@coado

@coado coado commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Summary:
Add the for-frameworks guard to the iOS RCTTurboModuleManager.h.

RCTTurboModuleManager creates and owns TurboModules for a host, and RCTTurboModuleManagerDelegate is the protocol a host implements to supply them. That is host-integration API, in the same tier as RCTHost.h and RCTInstance.h, which are already for-frameworks: the app factory delegate in RCTReactNativeFactory.h adopts both RCTHostDelegate and RCTTurboModuleManagerDelegate, and imports both headers.

Changelog: [Internal]

Differential Revision: D124079995

Summary:
Add the for-frameworks guard to the iOS `RCTTurboModuleManager.h`.

`RCTTurboModuleManager` creates and owns TurboModules for a host, and `RCTTurboModuleManagerDelegate` is the protocol a host implements to supply them. That is host-integration API, in the same tier as `RCTHost.h` and `RCTInstance.h`, which are already for-frameworks: the app factory delegate in `RCTReactNativeFactory.h` adopts both `RCTHostDelegate` and `RCTTurboModuleManagerDelegate`, and imports both headers.

Changelog: [Internal]

Differential Revision: D124079995
@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 Oct 8, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Oct 8, 2026
@meta-codesync

meta-codesync Bot commented Oct 8, 2026

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant