Skip to content

Reach public modules through umbrellas in RN-Tester and popup-menu-android C++ - #59222

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

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

Conversation

@coado

@coado coado commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Summary:
Two C++ files built into RN-Tester include public React Native headers directly instead of through their module umbrella, which is an #error under RN_STRICT_API:

  • rn-tester/NativeCxxModuleExample/NativeCxxModuleExample.cpp,
  • react/debug/react_native_assert.h,
  • The checked-in codegen output of react-native/popup-menu-android (Props.cpp) included react/renderer/core/PropsParserContext.h and propsConversions.h.

No behavior change; this prepares RN-Tester to build with RN_STRICT_API by default.

Changelog: [Internal]

Differential Revision: D126328619

…droid C++

Summary:
Two C++ files built into RN-Tester include public React Native headers directly instead of through their module umbrella, which is an `#error` under `RN_STRICT_API`:

- `rn-tester/NativeCxxModuleExample/NativeCxxModuleExample.cpp`,
- `react/debug/react_native_assert.h`,
- The checked-in codegen output of `react-native/popup-menu-android` (`Props.cpp`) included `react/renderer/core/PropsParserContext.h` and `propsConversions.h`.

No behavior change; this prepares RN-Tester to build with `RN_STRICT_API` by default.

Changelog: [Internal]

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

meta-codesync Bot commented Oct 20, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot closed this in c99c491 Oct 20, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 20, 2026
@meta-codesync

meta-codesync Bot commented Oct 20, 2026

Copy link
Copy Markdown

This pull request has been merged in c99c491.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @coado in c99c491

When will my fix make it into a release? | How to file a pick request?

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. Merged This PR has been merged. 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.

2 participants