React-native-splash-screen: Can I use gif photos? If yes, can you guide me?

Created on 4 Apr 2019  Â·  2Comments  Â·  Source: crazycodeboy/react-native-splash-screen

Run react-native info in your project and share the content.

What react-native-splash-screen version are you using?

What platform does your issue occur on? (Android/iOS/Both)

Describe your issue as precisely as possible :
1) Steps to reproduce the issue or to explain in which case you get the issue
2) Interesting logs

Join a screenshot or video of the problem on the simulator or device?

Show us the code you are using?

Most helpful comment

On Android Platform ,maybe you can try this:
add implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.1' in your build.gradle
and in launch_screen.xml replace ImageView to pl.droidsonroids.gif.GifImageView
done

PS:gif can play once and can not loop

All 2 comments

On Android Platform ,maybe you can try this:
add implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.1' in your build.gradle
and in launch_screen.xml replace ImageView to pl.droidsonroids.gif.GifImageView
done

PS:gif can play once and can not loop

On Android Platform ,maybe you can try this:
add implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.1' in your build.gradle
and in launch_screen.xml replace ImageView to pl.droidsonroids.gif.GifImageView
done

PS:gif can play once and can not loop

In my case, It play in loop

Was this page helpful?
0 / 5 - 0 ratings