-
Notifications
You must be signed in to change notification settings - Fork 598
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 plugin overrides status bar styles #1249
Comments
This is a bug on the Android 12 Splash Screen API, when using Android 12 Splash Screen API is bundled into the OS now, so there is nothing we can do about it, only google can fix those kind of issues. A workaround for your app would be to set the status bar and navigation bar color from the styles
closing as duplicate of #1160 as the problem is the same |
Thanks for the clarification of the bug in Android 12 Splash Screen. Your propose workaround works perfect for me, thanks. |
I checked the code for the StatusBar Plugin and found this line: So I can fix the text color issue when set the following to my styles: May this helps someone else. |
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 the plugin, please create a new issue and ensure the template is fully filled out. |
Bug Report
Plugin(s)
Capacitor Version
Platform(s)
Android
Current Behavior
Changing the styles of StatusBar and NavigationBar is overridden when the
@capacitor/splash-screen
plugin is installed in the project.Expected Behavior
The StatusBar and NavigationBar styles should be applied as in the case without the
@capacitor/splash-screen
plugin.Code Reproduction
https://github.com/marcjulian/ng-cap-status-bar
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered: