getImageSize has been fixed on Android?
winglight opened this issue · 5 comments
The pixels prop is used to align the edge of the image content with the view's boundry and to determine the max scale.(We can actually use Image.getSize to get pixels info on iOS, but NOT on Android, so for now this prop is needed)
-I checked the link provided above and found someone advised to close the issue for solved this problem. Would you guys like to confirm if we don't need the prop "pixel" any more?
@winglight Seems the related commit is in the master branch but not available in the latest release(v0.27.1) for now.
oic, i'm waiting...
@winglight With RN 0.28, Image.getSize() is available on Android, and we have update our sources to use this feature. So the pixels prop is now optional for remote images.
We're considering moving ViewTransformer.Image to a dedicated module react-native-transformable-image.
This module will continue to serve as a more basic and general transform utility.