Skip to content

Drop chrome-launcher dependency (#57630)#57630

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D113055240
Closed

Drop chrome-launcher dependency (#57630)#57630
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D113055240

Conversation

@huntie

@huntie huntie commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary:

Motivation

  • Flagged as a papercut by Expo: chrome-launcher (and chromium-edge-launcher) constitute duplicate code (vs Expo's vendored version), and we can lighten our core package by dropping these dependencies.
  • launchDebuggerAppWindow is now a fallback (since the rollout of the RNDT desktop shell), and we can reasonably delegate more rigorous browser detection to frameworks.

This diff

Remove both chrome-launcher dependencies and their usages in the launchDebuggerAppWindow code path. In their place, use open (bumped to 8.x)'s openApp API for Chrome only.

Changelog:
[General][Changed] - React Native DevTools: When using the fallback flow for launching DevTools (desktop app fails to launch), Microsoft Edge will not be attempted. DevTools will open as a standard window in the default browser.

Reviewed By: robhogan

Differential Revision: D113055240

@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 Jul 21, 2026
@meta-codesync

meta-codesync Bot commented Jul 21, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot changed the title Drop chrome-launcher dependency Drop chrome-launcher dependency (#57630) Jul 22, 2026
@huntie
huntie force-pushed the export-D113055240 branch from 8d9102b to 872d621 Compare July 22, 2026 11:53
huntie added a commit to huntie/react-native that referenced this pull request Jul 22, 2026
Summary:
Pull Request resolved: react#57630

**Motivation**

- Flagged as a papercut by Expo: `chrome-launcher` (and `chromium-edge-launcher`) constitute duplicate code (vs Expo's vendored version), and we can lighten our core package by dropping these dependencies.
- `launchDebuggerAppWindow` is now a fallback (since the rollout of the RNDT desktop shell), and we can reasonably delegate more rigorous browser detection to frameworks.

**This diff**

Remove both `chrome-launcher` dependencies and their usages in the `launchDebuggerAppWindow` code path. In their place, use `open` (bumped to 8.x)'s `openApp` API for Chrome only.

Changelog:
[General][Changed] - **React Native DevTools**: When using the fallback flow for launching DevTools (desktop app fails to launch), Microsoft Edge will not be attempted. DevTools will open as a standard window in the default browser.

Differential Revision: D113055240
huntie added a commit to huntie/react-native that referenced this pull request Jul 22, 2026
Summary:
Pull Request resolved: react#57630

**Motivation**

- Flagged as a papercut by Expo: `chrome-launcher` (and `chromium-edge-launcher`) constitute duplicate code (vs Expo's vendored version), and we can lighten our core package by dropping these dependencies.
- `launchDebuggerAppWindow` is now a fallback (since the rollout of the RNDT desktop shell), and we can reasonably delegate more rigorous browser detection to frameworks.

**This diff**

Remove both `chrome-launcher` dependencies and their usages in the `launchDebuggerAppWindow` code path. In their place, use `open` (bumped to 8.x)'s `openApp` API for Chrome only.

Changelog:
[General][Changed] - **React Native DevTools**: When using the fallback flow for launching DevTools (desktop app fails to launch), Microsoft Edge will not be attempted. DevTools will open as a standard window in the default browser.

Differential Revision: D113055240
@huntie
huntie force-pushed the export-D113055240 branch from 872d621 to d83f61f Compare July 22, 2026 11:57
huntie added a commit to huntie/react-native that referenced this pull request Jul 22, 2026
Summary:
Pull Request resolved: react#57630

**Motivation**

- Flagged as a papercut by Expo: `chrome-launcher` (and `chromium-edge-launcher`) constitute duplicate code (vs Expo's vendored version), and we can lighten our core package by dropping these dependencies.
- `launchDebuggerAppWindow` is now a fallback (since the rollout of the RNDT desktop shell), and we can reasonably delegate more rigorous browser detection to frameworks.

**This diff**

Remove both `chrome-launcher` dependencies and their usages in the `launchDebuggerAppWindow` code path. In their place, use `open` (bumped to 8.x)'s `openApp` API for Chrome only.

Changelog:
[General][Changed] - **React Native DevTools**: When using the fallback flow for launching DevTools (desktop app fails to launch), Microsoft Edge will not be attempted. DevTools will open as a standard window in the default browser.

Reviewed By: robhogan

Differential Revision: D113055240
@huntie
huntie force-pushed the export-D113055240 branch from d83f61f to 30a2193 Compare July 22, 2026 17:01
Summary:
Pull Request resolved: react#57630

**Motivation**

- Flagged as a papercut by Expo: `chrome-launcher` (and `chromium-edge-launcher`) constitute duplicate code (vs Expo's vendored version), and we can lighten our core package by dropping these dependencies.
- `launchDebuggerAppWindow` is now a fallback (since the rollout of the RNDT desktop shell), and we can reasonably delegate more rigorous browser detection to frameworks.

**This diff**

Remove both `chrome-launcher` dependencies and their usages in the `launchDebuggerAppWindow` code path. In their place, use `open` (bumped to 8.x)'s `openApp` API for Chrome only.

Changelog:
[General][Changed] - **React Native DevTools**: When using the fallback flow for launching DevTools (desktop app fails to launch), Microsoft Edge will not be attempted. DevTools will open as a standard window in the default browser.

Reviewed By: robhogan

Differential Revision: D113055240
@huntie
huntie force-pushed the export-D113055240 branch from 30a2193 to d3d2bc9 Compare July 22, 2026 17:06
@meta-codesync meta-codesync Bot closed this in 9efcdfc Jul 22, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jul 22, 2026
@meta-codesync

meta-codesync Bot commented Jul 22, 2026

Copy link
Copy Markdown

This pull request has been merged in 9efcdfc.

@huntie
huntie deleted the export-D113055240 branch July 22, 2026 18:15
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 Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant