react-native-make icon indicating copy to clipboard operation
react-native-make copied to clipboard

Blank black screen

Open cbruiners opened this issue 4 years ago • 6 comments

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?

cbruiners avatar Oct 08 '20 20:10 cbruiners

+1

jhs851 avatar Oct 20 '20 00:10 jhs851

Have you found a solution?

rahamin1 avatar Nov 18 '20 18:11 rahamin1

any solutions?

kabus202 avatar Jan 07 '21 16:01 kabus202

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

andresarezo avatar Mar 17 '21 14:03 andresarezo

any solutions?

ilyas-shah avatar May 06 '21 19:05 ilyas-shah

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.

ilyas-shah avatar May 10 '21 06:05 ilyas-shah