georstat/react-native-image-cache

Support for WebP

Closed this issue · 3 comments

Hey it would be great if we could support for webp images as well.

Hi @ShivamJoker, the lib supports webp, we add the extension .jpg if we can’t identify the filename extension from the url.

Did you experienced any issues with webp?

Hey sorry, actually I missed putting height and width so I couldn't see the images.

Also I added fresco in the build.gradle.
Not sure if we need it.

No worries! Yes you need fresco-webp and react-native-webp-format for iOS otherwise images won’t load.