Skip to content

Remove NativeDialogManagerAndroid API (#57047)#57047

Closed
huntie wants to merge 2 commits into
facebook:mainfrom
huntie:export-D107250968
Closed

Remove NativeDialogManagerAndroid API (#57047)#57047
huntie wants to merge 2 commits into
facebook:mainfrom
huntie:export-D107250968

Conversation

@huntie
Copy link
Copy Markdown
Member

@huntie huntie commented Jun 2, 2026

Summary:

Motivation

NativeDialogManagerAndroid is an internal native module used by Alert and PermissionsAndroid on Android, not an intended root React Native public API.

Notes

  • NativeDialogManagerAndroid wasn't defined on our manual public TypeScript types — so was never discoverable via TypeScript auto-import.
  • Appears unused by open source consumers with public code on GitHub (search).

Changelog:
[General][Breaking] - The NativeDialogManagerAndroid export is removed.

Reviewed By: cortinico

Differential Revision: D107250968

@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 2, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Jun 2, 2026

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: BREAKING

Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

huntie added a commit to huntie/react-native that referenced this pull request Jun 2, 2026
Summary:

**Motivation**

`NativeDialogManagerAndroid` is an internal native module used by `Alert` and `PermissionsAndroid` on Android, not an intended root React Native public API.

**Notes**

- `NativeDialogManagerAndroid` wasn't defined on our manual public TypeScript types — so was never discoverable via TypeScript auto-import.
- Appears unused by open source consumers with public code on GitHub ([search](https://github.com/search?type=code&q=NativeDialogManagerAndroid++NOT+is%3Aarchived+NOT+is%3Afork+language%3ATypeScript&l=TypeScript⁄)).

Changelog:
[General][Breaking] - The `NativeDialogManagerAndroid` export is removed.

Reviewed By: cortinico

Differential Revision: D107250968
huntie added a commit to huntie/react-native that referenced this pull request Jun 2, 2026
Summary:

**Motivation**

`NativeDialogManagerAndroid` is an internal native module used by `Alert` and `PermissionsAndroid` on Android, not an intended root React Native public API.

**Notes**

- `NativeDialogManagerAndroid` wasn't defined on our manual public TypeScript types — so was never discoverable via TypeScript auto-import.
- Appears unused by open source consumers with public code on GitHub ([search](https://github.com/search?type=code&q=NativeDialogManagerAndroid++NOT+is%3Aarchived+NOT+is%3Afork+language%3ATypeScript&l=TypeScript⁄)).

Changelog:
[General][Breaking] - The `NativeDialogManagerAndroid` export is removed.

Reviewed By: cortinico

Differential Revision: D107250968
huntie added a commit to huntie/react-native that referenced this pull request Jun 2, 2026
Summary:
Pull Request resolved: facebook#57047

**Motivation**

`NativeDialogManagerAndroid` is an internal native module used by `Alert` and `PermissionsAndroid` on Android, not an intended root React Native public API.

**Notes**

- `NativeDialogManagerAndroid` wasn't defined on our manual public TypeScript types — so was never discoverable via TypeScript auto-import.
- Appears unused by open source consumers with public code on GitHub ([search](https://github.com/search?type=code&q=NativeDialogManagerAndroid++NOT+is%3Aarchived+NOT+is%3Afork+language%3ATypeScript&l=TypeScript⁄)).

Changelog:
[General][Breaking] - The `NativeDialogManagerAndroid` export is removed.

Differential Revision: D107250968
huntie added 2 commits June 2, 2026 10:11
Summary:

Add `pointerEvents` to `TextProps` in the Flow source. This prop is supported at the native layer — `BaseParagraphProps` (the C++ props struct for Text/Paragraph) extends `ViewProps`, which includes `pointerEvents`. The old hand-written TypeScript types (`Text.d.ts`) already declared this prop, but the Flow source did not, causing a gap in the auto-generated strict API types (`types_generated`).

Changelog:
[General][Fixed] - **Strict TypeScript API**: Add missing `pointerEvents` prop to `Text` component

Reviewed By: cortinico

Differential Revision: D106183960
Summary:

**Motivation**

`NativeDialogManagerAndroid` is an internal native module used by `Alert` and `PermissionsAndroid` on Android, not an intended root React Native public API.

**Notes**

- `NativeDialogManagerAndroid` wasn't defined on our manual public TypeScript types — so was never discoverable via TypeScript auto-import.
- Appears unused by open source consumers with public code on GitHub ([search](https://github.com/search?type=code&q=NativeDialogManagerAndroid++NOT+is%3Aarchived+NOT+is%3Afork+language%3ATypeScript&l=TypeScript⁄)).

Changelog:
[General][Breaking] - The `NativeDialogManagerAndroid` export is removed.

Reviewed By: cortinico

Differential Revision: D107250968
@meta-codesync meta-codesync Bot changed the title Remove NativeDialogManagerAndroid API Remove NativeDialogManagerAndroid API (#57047) Jun 2, 2026
@huntie huntie force-pushed the export-D107250968 branch from 38f7768 to b0cf7be Compare June 2, 2026 17:12
@meta-codesync meta-codesync Bot closed this in a793d21 Jun 2, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label Jun 2, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Jun 2, 2026

This pull request has been merged in a793d21.

@huntie huntie deleted the export-D107250968 branch June 2, 2026 18:20
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 Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants