When defining a headers object in source prop in Image component, the custom headers are not passed to the http request (on iOS platform). On the old architecture everything works correctly.
Steps to reproduce
Clone the reproducer
Install project dependencies with npm
Run the app with npm run ios
Run the server with npm run server
Observe logs on a server - custom headers are not set when requesting a remote image
Description
When defining a
headers
object insource
prop inImage
component, the custom headers are not passed to the http request (on iOS platform). On the old architecture everything works correctly.Steps to reproduce
npm run ios
npm run server
React Native Version
0.74.3
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/pklatka/image-source-headers-obj-repro
Screenshots and Videos
No response