apache / cordova-plugin-splashscreen

Apache Cordova Plugin splashscreen
Apache License 2.0
643 stars 639 forks source link

Why black screen before splash screen and white screen after splash screen in android? #322

Closed balaji-subramaniyam closed 2 years ago

balaji-subramaniyam commented 2 years ago

Hi team, I have facing this issue that once before the splash screen launches a black screen is presenting. And once after the splash screen launched a white screen is presenting. How to solve this issue? Thanks in advance.

phiasco12 commented 2 years ago

any update on this?

phiasco12 commented 2 years ago

is this plugin abandoned?!

breautek commented 2 years ago

Question isn't totally clear.

Is the splashscreen shown at all or do you see black screen -> white screen?

Black screen would likely be the native background color.

A white screen generally means the app failed to load. Often due to a javascript error. Using chrome's web inspector will provide more insight if this is the case.

is this plugin abandoned?!

Nope, but it is working towards being deprecated, and will become deprecated once the android codebase is migrated as part of the core platform (like the other supported platforms).

fredriksthlm commented 2 years ago

Try set this in your theme: <item name="android:windowDisablePreview">true</item>

jcesarmobile commented 2 years ago

Closing because there is no enough information. If the black screen is on Android 12 devices it’s because of https://github.com/apache/cordova-plugin-splashscreen/issues/311

ptorrent commented 2 years ago

Did you solve the case ?