Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable default splash screen in react-native?

Tags:

react-native

Is there any way to disable the default splash screen, making our app load main page at first?

like image 214
Adrian Seungjin Lee Avatar asked Mar 10 '16 07:03

Adrian Seungjin Lee


People also ask

How do I get rid of the default splash screen?

On Android 12, it's not possible to opt out of the splash screen. It' only possible to customize it: icon, window background, exit animation.

How do you hide the Expo splash screen?

hideAsync() Hides the native splash screen immediately. Be careful to ensure that your app has content ready to display when you hide the splash screen, or you may see a blank screen briefly.

How do I change the launch screen in react native?

How to build a splash screen in React Native. First, head over to Appicon. Drag your image on the box provided, select 4x as your base size, select iOS and Android, and click generate.


1 Answers

There is always a loading portion. During this time a splash WILL be shown. You can customize the splash screen though.

On Android - https://stackoverflow.com/a/44380138/1828637

On iOS - iOS Launch screen in React Native

like image 173
Noitidart Avatar answered Oct 16 '22 18:10

Noitidart