mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Fixes https://github.com/facebook/react-native/issues/45188. This fixes old arch. fabric fix may wait until https://github.com/facebook/react-native/issues/44918. ## Changelog: [IOS] [BREAKING] - Change Image load event size info from logical size to pixel Pull Request resolved: https://github.com/facebook/react-native/pull/45198 Test Plan: Android/iOS return the same size . ``` <Image style={{width: '100%', height: '100%'}} source={{ uri: 'https://image-placeholder.com/images/actual-size/75x75.png', }} resizeMode={'cover'} onLoad={e => { console.log( `RNImage:${Platform.OS} load JPEG image from url`, e.nativeEvent, ); }} /> ``` Reviewed By: cortinico Differential Revision: D67735347 Pulled By: cipolleschi fbshipit-source-id: 72422d8c15e4cc6313215bf6d9a2c1e6b5a235ad