Skip to content

Drop chrome-launcher dependency#57630

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

Drop chrome-launcher dependency#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.

Differential Revision: D113055240

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.

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.

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 Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant