Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image/webp Support #397

Closed
armandolio opened this issue Jan 17, 2019 · 7 comments
Closed

Image/webp Support #397

armandolio opened this issue Jan 17, 2019 · 7 comments

Comments

@armandolio
Copy link

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!

@bb-cuongnv
Copy link

Follow #326 . Hope it helps you

@DylanVann
Copy link
Owner

I think it's fixed, thanks @BBTurtle!

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

@armandolio
Copy link
Author

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!

@DylanVann
Copy link
Owner

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

@DylanVann
Copy link
Owner

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

@armandolio
Copy link
Author

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!!!

@bb-cuongnv
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants