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.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *