Categories
React Native Answers

How to use GIFs in rReact Native?

Spread the love

To use GIFs in rReact Native, we add a line to android/app/build.gradle.

For instance, in android/app/build.gradle, we add

dependencies {
  //  ...
  implementation 'com.facebook.fresco:animated-gif:2.5.0'
  //  ...
}

so we can add GIFs into our Android React Native app.

Leave a Reply

Your email address will not be published.

If you like the content of this blog, subscribe to my email list to get exclusive articles not available to anyone else.