Android: Report fetch(), XHR and RCTNetworking call stacks to Network panel - #54084
Closed
motiz88 wants to merge 2 commits into
Closed
Android: Report fetch(), XHR and RCTNetworking call stacks to Network panel#54084motiz88 wants to merge 2 commits into
motiz88 wants to merge 2 commits into
Conversation
motiz88
force-pushed
the
export-D83981793
branch
2 times, most recently
from
October 8, 2025 16:52
375dbaa to
ada6179
Compare
motiz88
force-pushed
the
export-D83981793
branch
from
October 8, 2025 16:56
ada6179 to
25791a1
Compare
Summary: Changelog: [Android][Deprecated] Mark `NetworkingModule.sendRequestInternal` as deprecated The `NetworkingModule.sendRequestInternal` method is an implementation detail of the `sendRequest` method and does not need to be public. In this diff, we mark it as deprecated ahead of removing it from the public API in a future release of React Native. Differential Revision: D84250142
… panel (react#54084) Summary: Android port of D83754145. 1. Teaches the native networking module on IOS to track a `devToolsRequestId` along with each request, and use it instead of the internal `requestId` to identify the request to `NetworkReporter`. 2. Uses `__NETWORK_REPORTER__.createDevToolsRequestId` (D83238216) to generate a `devToolsRequestId` from JS and pass it into native. This records a JavaScript call stack as the [initiator](https://cdpstatus.reactnative.dev/devtools-protocol/tot/Network#type-Initiator) of the request. Changelog: [Internal] Reviewed By: huntie Differential Revision: D83981793
motiz88
force-pushed
the
export-D83981793
branch
from
October 9, 2025 13:43
25791a1 to
f9ee306
Compare
|
This pull request has been merged in 487844e. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Android port of D83754145.
devToolsRequestIdalong with each request, and use it instead of the internalrequestIdto identify the request toNetworkReporter.__NETWORK_REPORTER__.createDevToolsRequestId(D83238216) to generate adevToolsRequestIdfrom JS and pass it into native. This records a JavaScript call stack as the initiator of the request.Changelog: [Internal]
Differential Revision: D83981793