You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to react native's documentation of Image component's source props, the supported props are The currently supported formats are png, jpg, jpeg, bmp, gif, webp, psd (iOS only)
However, when trying to use webp images, present in xcode assets catalogue, it does not work. Also, it is mentioned in react-native code repo inside Image.d.ts that webp is only supported in android. However, webp works when bundled with JS in ios.
Please sync both the documentation and provide which information is correct.
The text was updated successfully, but these errors were encountered:
According to react native's documentation of Image component's source props, the supported props are
The currently supported formats are png, jpg, jpeg, bmp, gif, webp, psd (iOS only)
However, when trying to use webp images, present in xcode assets catalogue, it does not work. Also, it is mentioned in react-native code repo inside
Image.d.ts
that webp is only supported in android. However, webp works when bundled with JS in ios.Please sync both the documentation and provide which information is correct.
The text was updated successfully, but these errors were encountered: