-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splash Screen Messing Status Bar Color/Style #1761
Comments
i'm observing similar behaviour on iOS. something briefly shows the statusbar during the splash screen and only after i hide it, the Statusbar is set according to my settings. I have set the appropriate values in Info.plist as well as via the Plugin interface. |
I see the same black flash in both the status and navigation bar on Android when the app finishes loading, has anyone found a workaround? |
On some Android devices, the default color of the navigation bar is not black. It's a device difference, but Android lets you specify the color of the navigation bar. The status bar is also the same. However. I've applied a style, but Android still shows a black status bar and a black navigation bar when splash is displayed. |
wops, linked PR was wrong and doesn't fix this issue, reopening |
@jcesarmobile my bad, sorry... |
It's still happening for me, and I can't find any way around it. Does anyone have a workaround, however ugly it is ? |
Just opened a PR to fix this: #2603 |
Hello there. Regards! |
Same here :/ And in Cordova there is a pull request but abandoned by the developer. |
For anyone facing to this problem and look for solution, here mine (with help of native developer). For context, I faced to this problem only for Pixel 4 (or device with no standard status bar). In
For style In The app start with Splashscreen is now better and more immersive. |
Any update? |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Description of the problem: When starting an app, during the Splash Screen, the Status Bar will first set it's style/background color to the one defined my project, then the screen will blink, the Status Bar will be automatically set to its default style (Black background with white text) and only when the splash screen hides, it'll show my custom style again (either the one in the XML file, or inside my angular application defined via the Plugin). I need to be able to define the status bar color and style shown during the Splash Screen.
Affected platform
OS of the development machine
Other information: -
Capacitor version: 1.1.0
node version: v11.8.0
npm version: 6.9.0
CocoaPods version: -
Steps to reproduce: Create a brand new project, build project for the first time and open in Android Studio. Then set the Status Bar style either by:
or define some custom colors via:
or Set the Status Bar color via the Plugin:
The text was updated successfully, but these errors were encountered: