Fork me on GitHub
Oliver George01:10:50

question about splash screens for ios/android

Oliver George01:10:17

Is this overkill? Should I just roll my own for each platform?

Shako Farhad08:10:51

I have used it. It works great and is easy to use. At the end of the day you need to make your splashscreens in native code/tools but with this you have the ability to control it in cljs/js, which is great stuff.

Oliver George09:10:17

Thanks. That makes sense. (I set it up it only to realise there was a white screen before it kicked in ... as you say, no substitute for setting up the native stuff).

Shako Farhad09:10:31

The splash screen guide on works well. In the newest react native it is not needed to  modify Also some of the content in the guide is outdated. Like the changes done to the For IOS following the official documentation is good enough. Most of the work of setup is done in XCode.

Shako Farhad09:10:43

BTW I also reccommend that you use SVGs and convert them to XML instead of creating a bunch of pngs for the android version. (you have to generate pngs for ios though. But there is a free tool on the app store that you can use for this.)

Shako Farhad09:10:46

To convert SVG to xml you can use android studio. It has a handy tool for converting. The graphics will be crisper and will auto scale on all different screens.

Shako Farhad09:10:13

This stuff should be written up in a big cljsrn documetnation/guide tbh 😛

👍 9
Oliver George12:10:28

News to me. Sounds like it would be appreciated.


I don't get why would you use that library. The idea is to show that screen while the app is loading? I usually just set a splash screen from within the app using react-navigation.

Shako Farhad19:10:22

It is for before react or anything has loaded in. Your users will see a black screen then your app loading screen. But with this they see a predetermined simple screen with just a logo, then your app can switch to a different loading screen etc


Oh, I see it now! Thanks for the clarification