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

Support WebP images on iOS 12 #386

Closed
wants to merge 1 commit into from
Closed

Support WebP images on iOS 12 #386

wants to merge 1 commit into from

Conversation

xzilja
Copy link

@xzilja xzilja commented Jan 3, 2019

Should
fix #385
fix #298

I tested this in Debug and Release builds with my own app (ios 12) via local images i.e.

<FastImage source={require("../assets/myImage.webp")} />

Seems to work without any trouble. Since we are aiming for fast image lib, I think SDWebImage/WebP is a good candidate to be included with CocoaPod file?

Should
fix #385
fix #298

I tested this in Debug and Release builds with my own app via local images i.e.
```js
<FastImage source={require("../assets/myImage.webp")} />
```

Seems to work without any trouble. Since we are aiming for fast image lib, I think `SDWebImage/WebP` is a good candidate to be included with CocoaPod file?
@xzilja
Copy link
Author

xzilja commented Jan 3, 2019

I think this is related PR #387

@obj-p
Copy link

obj-p commented Jan 10, 2019

Would this support those who use react-native link instead of using CocoaPods to integrate third party? Seems there's an additional step to do so

@xzilja
Copy link
Author

xzilja commented Jan 10, 2019

@jjgp I'm not sure but I think #386 (comment) addresses react-native link part? I only tested CocoaPods implementation however.

@obj-p
Copy link

obj-p commented Jan 10, 2019

I believe you're correct I will follow up there!

@xzilja
Copy link
Author

xzilja commented Jan 14, 2019

@jjgp will it be possible to merge this CocoaPod fix, or are you guys planning to merge them both at the same time once ready?

@obj-p
Copy link

obj-p commented Jan 14, 2019

@iljadaderko I'm not a maintainer, however, am eager to get this fix as well. I don't see a problem with them being separate PRs. They should be merged into the same tagged release. Only comment I have is that we may want to assert (or at least test for now) that the pod version of SDWebImage is the same(ish) version as the vendor submodule in the other PR.

@armandolio armandolio mentioned this pull request Jan 17, 2019
@DylanVann
Copy link
Owner

It's merged! Sorry, there was another PR open for this and I merged that one. Thank you though @iljadaderko !

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

@DylanVann DylanVann closed this Feb 24, 2019
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

Successfully merging this pull request may close these issues.

Animated WebP display issues (With "Fix") WebP not showing on iOS 12
4 participants