bamlab / react-native-make

A collection of everyday React Native CLI tools
MIT License
761 stars 87 forks source link

black splash screen on iOS 14, iPhone 8 Plus #44

Closed dev-yakuza closed 3 years ago

dev-yakuza commented 3 years ago

First, thanks for making a great library.

Recently, I updated iOS version (13 -> 14). Suddenly Splash screen is not shown up on iPhone 8 Plus (Device and Simulator, both)

I am not sure this is react-native-make bug.

With the image

Screen Shot 2020-09-19 at 10 03 04

Without the image

Screen Shot 2020-09-19 at 10 03 31

other simulators are ok.

dev-yakuza commented 3 years ago

I think it's not a good solution, but using the transparent background image solves the problem.

the splash image has only the logo, and execute the command below to solve the problem.

react-native set-splash --path ./src/env/splash.png --resize cover --background "#EC174F"
Juliocbr commented 3 years ago

Adding to what @dev-yakuza mentioned I also had to uninstall my app and restart my iphone