title: How to play a gif using ImageBackground in react-native?
body: <p>I have a GIF background image that I am rendering using react-native's ImageBackground component. The only issue is that the gif is not running, it becomes static.</p>
  
  <p>When I use the Image component everything works fine, but I need to use the ImageBackground component</p>
  
  <pre><code>    &lt;ImageBackground
         source= {require('../../assets/img/initial_wallpaper.gif')} 
         style={{flex:1}} &gt;                
  
      &lt;/ImageBackground&gt;
  </code></pre>
  
  <p>Using the code above the GIF renders statically. When I use the online expo util to test this it works fine there with the exact same code. But when I implement this in my react-native code base it does not work. Any   insight will be greatly appreciated. Thank you :)</p>