-
Notifications
You must be signed in to change notification settings - Fork 991
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
Problem with splashscreen and cordova-ios 6.0.0 #890
Comments
@dpogue Could you please look at this issue: Cordova-ios does not read the settings from config.xml for splas screen. |
Please change the title of this issue to: |
I'm experiencing the same issue. A quick way to prove what I say is to call navigator.splashscreen.show(). Or just set a very long FadeSplashScreenDuration. I'm still trying to figure out why the launch screen is "transparent" as this is blocking me from upgrading and we really want to. I also validated that the subview alpha is set to 1. |
Ahhhh okay, I know what's happening here: The splashscreen will use the I will open a PR in the next few days to make it default to white. |
@dpogue thank you very much for looking at it. |
Bug Report
Problem
The version 6.0.0 of cordova-ios integrates the splashscreen plugin. Accordingly, the team of cordova-plugin-splashscreen removed the support of this version with the latest version of the plugin.
With that in mind I decided to update cordova-ios to version 6.0.0, but the integrated splashscreen does not work the same way as the plugin one.
What is expected to happen?
The splashscreen should be displayed the same way as before.
What does actually happen?
The splash screen is hidden very quickly, it does not use the settings of the config.xml file. It is hidden even if the AutoHideSplashScreen option is set to false, and the SplashScreenDelay option does not change the delay.
Information
I looked at the CDVViewController.m file file with the Xcode debugger, and it seems that the options of the config.xml file are correctly interpreted, but it does not change nothing.
Moreover when I call the
navigator.splashscreen.hide()
function, the splashscreen is not displayed and I cannot click on the screen anymore.Some people from the splashscreen plugin team seem to have spotted the same problem.
Environment, Platform, Device
I use Xcode 11.4 and an IPhone 6S with iOS 13.5.
Version information
I use cordova-ios 6.0.0.
Checklist
The text was updated successfully, but these errors were encountered: