A framework for building native applications using React
Re-implement request body previews on Android (#55456)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55456 **Context** Follow-up to D89373824, which addressed a runtime Android crash with `FormData` uploads (https://github.com/facebook/react-native/issues/54881) but introduced a "[Preview unavailable]" fallback for the `ProgressRequestBody` case. **This diff** Reintroduce request body previews under this case. Protects agains the original crash by: - Checking `body.isOneShot()` to prevent disallowed double-reads of stream bodies. - [Pre-existing] Preserves `BuildConfig.DEBUG` guard added in D89377163. Changelog: [Android][Added] - React Native DevTools: Restore request payload previews on Android Reviewed By: vzaidman Differential Revision: D89381124 fbshipit-source-id: ae6ce006285b4bcd7bbb09bb4413d119f18a8630
A
Alex Hunt committed
cc44e96e0bc7f82a1729301dce7c4ca5a5e11f65
Parent: 0d40f2a
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 2/27/2026, 2:26:21 PM