Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Image load event size info from logical size to pixel (#45198)
Summary: Fixes #45188. This fixes old arch. fabric fix may wait until #44918. ## Changelog: [IOS] [BREAKING] - Change Image load event size info from logical size to pixel Pull Request resolved: #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
- Loading branch information