react-native-splash-screen icon indicating copy to clipboard operation
react-native-splash-screen copied to clipboard

Displaying Random image as Splash screen

Open bhaskardabhi opened this issue 4 years ago • 5 comments

I want to display a random image as a splash screen. How is that possible or is it even possible?

Suppose if I have three images img1.png, img2.png & img3.png then it should pick up any random image from these 3 and display it.

I couldn't find anything.

bhaskardabhi avatar Oct 02 '19 14:10 bhaskardabhi

Do you find any solution?

vortgo avatar Nov 04 '19 19:11 vortgo

I want to do it too

audrew avatar Nov 29 '21 09:11 audrew

@audrew , I did it for my pet project. It's abandoned but the current issue was resolved You can find it here. https://github.com/vortgo/metal-library/commit/65ab312ff0643167448e3499f354a2058fe09251

vortgo avatar Nov 29 '21 10:11 vortgo

It's not very clear what you trying to show. Have you done it in expo environment?

audrew avatar Nov 29 '21 10:11 audrew

In my commit, you can find the code which displays a random image as a splash screen in my project. As I said before, my project is abandoned and I haven't been writing on RN for a long time. Hope my code helps you to make your own solution for this feature.

vortgo avatar Nov 29 '21 10:11 vortgo