-
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
bug: splashFullScreen and splashImmersive values not respected. #2700
Comments
Yeah, docs are wrong, you can’t use both of them. Also, you are using them outside the plugin preferences. |
Oh ok. So you mean to say that I've got to move
So is the above correct? It's still not working. |
I created pr to handle case where both of these flags are set i.e. prioritise splashImmersive as it will also hide statusbar. On my end it behaves correctly. I'd suggest making sure you:
|
@sebinbenjamin is this issue solved? I tried with the latest capacitor 3.0-rc, the full splash screen is still not working on the android platform. |
Uhh.. Sorry. I did not actually investigate. Got busy with uni. |
@ramseyfeng issue is not solved for me! |
If you want to hide status bar on app launch then add this code to style.xml:
Also you need to add in capacitor config:
|
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. |
Bug Report
The splash screen does not hide the status bar or software navigation buttons even after setting both
"splashFullScreen": true
and"splashImmersive": true
.Capacitor Version
npx cap doctor
output:Affected Platform(s)
Current Behavior
Expected Behavior
Both status bar and software navigation buttons should be hidden as per Capacitor docs for Splash Screen API.
Sample Application Repo
The issue recreated on Ionic (Angular) blank starter app - https://github.com/sebinbenjamin/capacitor-bug-report
Sample Code
capacitor.config.json
app.component.ts
Reproduction Steps
ionic build --prod
npx cap add android
splashImmersive
|splashFullScreen
to true in capacitor.config.json.npx cap sync
andnpx cap open android
Other Technical Details
npm --version
output:6.12.0
node --version
output:v12.13.0
pod --version
output (iOS issues only):Other Information
splashImmersive
a superset ofsplashFullScreen
? Is it required to usesplashFullScreen
if we already havesplashImmersive
as true,The text was updated successfully, but these errors were encountered: