SimpleCode

  • Home
  • React Native
  • Ubuntu

React Native

React Native

How to Display an Animated gif in React Native

By default the Gif images are not supported in android react native app. You need to set the following code to display the gif images. Open your android/app/build.gradle file add the following code: open android/app/build.gradle add the following code dependencies: { … // For animated GIF support compile ‘com.facebook.fresco:animated-base-support:0.11.0’ // Read more…

By simplecode, 8 yearsMarch 11, 2017 ago
React Native

Setting up React Native Android on Ubuntu 16.04

Install Nodejs $ sudo apt-get update $ sudo apt-get install build-essential libssl-dev The version number of nvm may be different, but in general, you can download it with curl: $ curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh $ nano install_nvm.sh $ bash install_nvm.sh $ source ~/.profile $ nvm ls-remote //To find out Read more…

By simplecode, 8 yearsMarch 2, 2017 ago
  • About
GitHub | LinkedIn | SimpleCode