React-native-fast-image: Image/webp Support

Created on 17 Jan 2019  ·  7Comments  ·  Source: DylanVann/react-native-fast-image

Hi Everyone! I saw many entries about webp format support with posible solutions, but doesn't works for me #385 #92 #386
In the meanwhile, I wanna use the Image native component for Webp format. I tried the param fallback but doesn't work. Any solution? Many thanks!

Most helpful comment

All 7 comments

Follow #326 . Hope it helps you

Hi! I'm trying to build with version 5.1.3 and I receive this error:

Image/FLAnimatedImage/FLAnimatedImageView+WebCache.m:18:9: fatal error: 'UIImage+MemoryCacheCost.h' file not found
#import "UIImage+MemoryCacheCost.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


** BUILD FAILED **

TIA!

I suspect you just need to clean in Xcode. If that doesn't work try these troubleshooting steps.

The fallback prop was also broken 🤦‍♂️, so it makes sense it didn't work for you either.

See: https://github.com/DylanVann/react-native-fast-image/releases/tag/v5.1.4

The fallback prop was also broken 🤦‍♂️, so it makes sense it didn't work for you either.

See: https://github.com/DylanVann/react-native-fast-image/releases/tag/v5.1.4

Works for me! Thanks!!!

Hi! I'm trying to build with version 5.1.3 and I receive this error:

Image/FLAnimatedImage/FLAnimatedImageView+WebCache.m:18:9: fatal error: 'UIImage+MemoryCacheCost.h' file not found
#import "UIImage+MemoryCacheCost.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


** BUILD FAILED **

TIA!

You can use version 5.1.2, completely running smoothly except for webp support on iOS.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

skleest picture skleest  ·  3Comments

NgocNamFNT picture NgocNamFNT  ·  3Comments

bhuvin25 picture bhuvin25  ·  3Comments

pehagg picture pehagg  ·  3Comments

StiffFy picture StiffFy  ·  3Comments