Answers for "gif not working in react-native"

0

gif not working in react-native

Edit your android/app/build.gradle file and add the following code:


dependencies: { 
...
compile 'com.facebook.fresco:fresco:1.+'

// For animated GIF support
compile 'com.facebook.fresco:animated-gif:1.+'

// For WebP support, including animated WebP
compile 'com.facebook.fresco:animated-webp:1.+'
compile 'com.facebook.fresco:webpsupport:1.+'
Posted by: Guest on May-25-2021

Code answers related to "gif not working in react-native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language