My React Native app was working perfectly until I needed GIF support in Android. I've added Fresco and no images are (even existing JPEGs and PNGs that used to display before adding Fresco) are displayed (they're just blank) and I'm getting many errors about com.facebook.imagepipeline.nativecode.NativeJpegTranscoderFactory not found.
build.gradle:implementation 'com.facebook.fresco:animated-gif:1.12.0'
I've also seen https://github.com/facebook/fresco/issues/2238 but I don't understand the solution or what to do.
Does it work if you add a dependency to com.facebook.fresco:nativeimagetranscoder?
@oprisnik I can't add such dependency. I've triedn now:
implementation 'com.facebook.fresco:nativeimagetranscoder:*'
Though it cannot be resolved.
It is on bintray / jCenter though, so it should work: https://bintray.com/facebook/maven/com.facebook.fresco%3Anativeimagetranscoder
I am facing the same issue with RN 0.59.8 below is the code but still not showing images.
implementation 'com.facebook.fresco:nativeimagetranscoder:1.12.0'
// For animated GIF support
compile 'com.facebook.fresco:animated-gif:1.10.0'
// For WebP support, including animated WebP
compile 'com.facebook.fresco:animated-webp:1.10.0'
compile 'com.facebook.fresco:webpsupport:1.10.0'
// For WebP support, without animations
compile 'com.facebook.fresco:webpsupport:1.10.0'
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to reopen with up-to-date information.
Most helpful comment
I am facing the same issue with RN 0.59.8 below is the code but still not showing images.
implementation 'com.facebook.fresco:nativeimagetranscoder:1.12.0'