-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
WebP with 6.0.0 #476
Comments
Please refer to #454 (comment) |
Yes, tried that. Did not work, did it work for you then @guhungry ? |
Nope, I didn't use webp in my app. Maybe you need to ping author of #454. |
Seems like |
@pontusab See SDWebImageWebPCoder Readme. For 5.0, all the external image format coders, are standalone modules (Pods). If you want to use WebP, you can add the Pods and register it in pod 'react-native-fast-image'
pod 'SDWebImageWebPCoder' - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// ...
// Register WebP format support
[SDImageCodersManager.sharedManager addCoder:SDImageWebPCoder.sharedCoder];
// ...
} |
Thanks, I got it to work 🥇 |
Import in
An add:
|
@pontusab What is the step you do to get it works? I did like this
and then in
I cannot build the App. It failed. |
@aibrahim3546 What is the error msg? Try pod deintegrate before pod install maybe. The solution above worked for me just fine. |
Thanks, it works perfectly for me! |
For react native |
Thanks, it Worked like charm |
v0.59.8
16.8.6
6.0.0
In the latest release using cocapods and WebP the images are not displayed at all. Downgrading to
5.4.2
works just fine.I guess there is something with
SDWebImage
that needs to be patched?The text was updated successfully, but these errors were encountered: