-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
React Native 0.57.0 Android For animated GIF support #21216
Comments
helped me. |
@punksta Thanks. It works. |
You don't have to add fresco dependency as React Native already provide it. The issue was a desync between bundled fresco (bumped to The proper solution for RN 0.57 would be to add these optional modules depending on the needs of your app:
As reflected in the updated documentation: https://facebook.github.io/react-native/docs/image#gif-and-webp-support-on-android |
问题的根源在于React-Native源码的build.gradle,如果你RN源码里面fresco的版本刚好是 但是比如我:我的版本是
但是这一部分在官方文档中貌似并未说明? |
@charpeni The package https://mvnrepository.com/artifact/com.facebook.fresco/animated-base-support Keeping this version on
|
For anyone interested I had to update to |
In 0.58.3 i solved by getting rid of animated-base-support and for PNG+GIF i used:
otherwise i was getting blank images. |
In 0.58.3 i solved this line: thanks ! @jasperkuperus |
It works for me. Thank you so much |
Well this helped to make a build for Android 7, but gif is still showing only 1st frame :( UPD: |
RN 0.59.9 works for me
|
Where do i place this in my folder? @nppull |
@aibrahim3546 In the android/app/build.gradle file in the |
not working in rn v0.60.3 |
Hi you can try the following on RN v0.60.0. This works for me.
|
Thanks Its works for RN v0.60.0 & v0.60.X
|
worked for react native 0.60.4, thanks |
react-native issues-20242react-native issues-20251react-native issues-20323SoLoader issues-13Environment
Description
Reproducible Demo
gif-and-webp-support-on-android
My React Native Project Demo
The text was updated successfully, but these errors were encountered: