Skip to content

[dev-middleware] expose if there are any connected devices to dev middleware and adding event on if this changes#54447

Closed
vzaidman wants to merge 1 commit intofacebook:mainfrom
vzaidman:export-D86319965
Closed

[dev-middleware] expose if there are any connected devices to dev middleware and adding event on if this changes#54447
vzaidman wants to merge 1 commit intofacebook:mainfrom
vzaidman:export-D86319965

Conversation

@vzaidman
Copy link
Copy Markdown
Contributor

@vzaidman vzaidman commented Nov 7, 2025

Summary: Changelog: [Internal]

Differential Revision: D86319965

@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 Nov 7, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Nov 7, 2025

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

@vzaidman vzaidman changed the title allow exposing the list of connected devices, and subscribe to that list being changed. [dev-middleware] expose if there are any connected devices to dev middleware and adding event on if this changes Nov 12, 2025
@vzaidman vzaidman force-pushed the export-D86319965 branch 2 times, most recently from 5963dd2 to 7f9729f Compare November 17, 2025 10:52
@vzaidman vzaidman force-pushed the export-D86319965 branch 2 times, most recently from b6cd8f8 to 2e6c1bd Compare December 4, 2025 12:24
…g event on if this changes (facebook#54447)

Summary:

Changelog: [Internal]

Expose `unstable_hasConnectedDevices` and `unstable_addHasConnectedDevicesListener` from both `InspectorProxy` and `DevMiddleware` that tells the user if any devices are connected to `devMiddleware` and allows to listen to whenever this state changes.

Reviewed By: motiz88

Differential Revision: D86319965
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @vzaidman in 7cecf15

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

@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Dec 10, 2025

This pull request has been merged in 7cecf15.

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.

3 participants