Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Blank black screen #46

Open
cbruiners opened this issue Oct 8, 2020 · 6 comments
Open

Blank black screen #46

cbruiners opened this issue Oct 8, 2020 · 6 comments

Comments

@cbruiners
Copy link

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
Copy link

jhs851 commented Oct 20, 2020

+1

@rahamin1
Copy link

Have you found a solution?

@kabus202
Copy link

kabus202 commented Jan 7, 2021

any solutions?

@andresarezo
Copy link

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

@ilyas-shah
Copy link

any solutions?

@ilyas-shah
Copy link

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

How I did it?

  • added a new image to image.xcassets.
  • Link that image to the storyboard.
  • cleared the current build and made a new build
  • Then it worked.

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants