Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Gate requestBody processing behind BuildConfig.DEBUG#54920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
huntie wants to merge2 commits intofacebook:mainfromhuntie:export-D89377163

Conversation

@huntie
Copy link
Member

Summary:
GatesrequestBody handling forreportRequestStart on Android withBuildConfig.DEBUG. This is an appropriate optimisation as we do not use body previews outside of CDP debugging, aligning with the same conditional behaviour on iOS.

I'd like to also pick this change for 0.83.1, with D89373824, for additional safety.

Other notes

Gating byBuildConfig isn't done elsewhere in this file, as other potentially expensive behaviour is gated lower down by bothREACT_NATIVE_DEBUGGER_ENABLED and theNetwork.enable CDP message. This was the only remaining gap with the iOS implementation.

Changelog: [Internal]

Reviewed By: vzaidman

Differential Revision: D89377163

@meta-clameta-clabot added the CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labelDec 17, 2025
@meta-codesync
Copy link

@huntie hasexported this pull request. If you are a Meta employee, you can view the originating Diff inD89377163.

Summary:facebook#54804 was a late pick into 0.83 following RC feedback, but was insufficiently tested. Infacebook#54881, users report failing requests attributed to this code path when performing image uploads.Functionally revert this change, as this breaks runtime behaviour.Changelog: [Internal]Changelog (0.83): [Android][Fixed] - Fix Network error that could occur for `FormData` uploads with binary dataReviewed By: vzaidmanDifferential Revision: D89373824
Summary:Gates `requestBody` handling for `reportRequestStart` on Android with `BuildConfig.DEBUG`. This is an appropriate optimisation as we do not use body previews outside of CDP debugging, aligning with the same conditional behaviour on iOS.I'd like to also pick this change for 0.83.1, with D89373824, for additional safety.**Other notes**Gating by `BuildConfig` isn't done elsewhere in this file, as other potentially expensive behaviour is gated lower down by both `REACT_NATIVE_DEBUGGER_ENABLED` and the `Network.enable` CDP message. This was the only remaining gap with the iOS implementation.Changelog: [Internal]Reviewed By: vzaidmanDifferential Revision: D89377163
@meta-codesync
Copy link

This pull request has been merged in33005a4.

@facebook-github-botfacebook-github-bot added the MergedThis PR has been merged. labelDec 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.meta-exportedp: FacebookPartner: FacebookPartner

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@huntie@facebook-github-bot

[8]ページ先頭

©2009-2025 Movatter.jp