Skip to content

Conversation

@pFornagiel
Copy link
Contributor

Description

This PR introduces additional Launch Configuration option Use Native Network Inspector Implementation, which controls whether the new network inspector is enabled.

The option can be explicitly set to Yes or No with caveat, that for react native version < 0.83.0 the inspector will not showcase any massages, which is provided in the description of option.

When set to Detect Automatically the extension will detect whether current version is >= 0.83.0 and set the flag accordingly.

Screenshot 2025-12-08 at 15 08 20

How Has This Been Tested:

Changed configuration and used debugger to determine which inspector instance is initialised in network-plugin.ts in the constructor, changed the package.json of react native module in node_modules to 0.83.0 to check whether automatic detection works correctly, verified that changing the option properly edits launch.json

How Has This Change Been Documented:

Will have to be done asap, wip for now.

@vercel
Copy link

vercel bot commented Dec 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
radon-ide Ready Ready Preview Comment Dec 8, 2025 2:52pm

Copy link
Contributor

@jwajgelt jwajgelt left a comment

Choose a reason for hiding this comment

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

👍

},
"useNativeNetworkInspector": {
"type": "boolean",
"description": "When set to true, Radon will use the Native (\"Fusebox\") Network Inspector implementation introduced in 0.83.0. Note, that this requires at least React Native 0.83.0 and it will not intercept network messages for earlier versions."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"description": "When set to true, Radon will use the Native (\"Fusebox\") Network Inspector implementation introduced in 0.83.0. Note, that this requires at least React Native 0.83.0 and it will not intercept network messages for earlier versions."
"description": "When set to true, Radon will use the Native (\"Fusebox\") Network Inspector implementation introduced in 0.83.0. Note that this is only supported on React Native 0.83.0 and newer, and might not intercept network messages on earlier versions."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in e319865

@jwajgelt jwajgelt merged commit 05a3c7e into main Dec 8, 2025
9 checks passed
@jwajgelt jwajgelt deleted the @pFornagiel/network-launch-config-network branch December 8, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants