Search code examples
react-nativewebpreact-native-fast-image

How to enable animated webp (awebp) in React Native Fast Image?


We have animated webp files working great in our React Native app using the default <Image> component.

We were hoping to benefit from some of the caching extras built into react-native-fast-image. However, it works great for everything except awebp files; which we have a lot of.

There are plenty of solutions in the github issues but we can't get any of them to work.

Is there a verified way to get awebp working?


Solution

  • There is now expo-image. Use it and forget all the headaches.
    https://docs.expo.dev/versions/unversioned/sdk/image/

    enter image description here