mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44894 Adds the new CDP domain `ReactNativeApplication`, with the following messages: - `ReactNativeApplication.enable` (method) — Sent by the connected frontend to enable features under this domain. - `ReactNativeApplication.metadataUpdated` (event) — Sent by the backend containing a metadata object about the host. We intend to use this for displaying richer information in the debugger frontend, such as device information and React Native version. Changelog: [General][Added] - Add `ReactNativeApplication.[enable,metadataUpdated]` CDP messages for reading host metadata Reviewed By: motiz88 Differential Revision: D58288490 fbshipit-source-id: 02384f0cdfaa35f1c5de9fad7ddd5aab483b2768