bamlab / react-native-make

A collection of everyday React Native CLI tools
MIT License
762 stars 89 forks source link

Blank black screen #46

Open cbruiners opened 4 years ago

cbruiners commented 4 years ago

I've ran the following;

yarn add -D @bam.tech/react-native-make yarn add react-native-splash-screen cd ios && pod install

I've got an splash screen image;

splashscreen.png

I've ran;

react-native set-splash --path "splashscreen.png" --background "#ffffff" --resize contain

And then added;

import SplashScreen from 'react-native-splash-screen'; SplashScreen.hide();

But when I run the app in the iPhone simulator, all I get is a blank black screen for a second or two and then into the app.

Is there any issues running this in the simulator? Or have I missed a step?

jhs851 commented 4 years ago

+1

rahamin1 commented 3 years ago

Have you found a solution?

kabus202 commented 3 years ago

any solutions?

andresarezo commented 3 years ago

I'm facing the back splash screen issue on Ios 14.4. Ios 13.. seems like is running good.

ilyas-shah commented 3 years ago

any solutions?

ilyas-shah commented 3 years ago

one solution that worked for me is to create a new storyboard or replace the image in the existing one.

How I did it?

What I did initially is that I removed the image from the storyboard and used background color. Build the app and saw the background screen displaying as launch screen. This way I realized that there is some problem with the image added by this library.