-
Notifications
You must be signed in to change notification settings - Fork 984
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 is not hiding with this.splashscreen.hide() after migrated to cordova-ios >=6 #1066
Comments
I have the same issue. |
Thank you so much for the fix. Its working. Thanks you @breautek for the great support. Thanks & Regards, |
Glad to hear, I'll close this ticket then. Cheers! |
Seems like this might have been closed prematurely, I'm on 6.2.0 and it's not working for me. There are a bunch of other people in apache/cordova-plugin-splashscreen#307 with the same issue. That being said, I don't know where the issue resides, should this be reopened or is the problem with the other repo? |
@breautek is there anything I can do to help debug this? Setting a breakpoint in the |
Nevermind. Uninstalling and reinstalling
|
cordova-ios 6.2.0, and suddenly stop working, from 1 compilation to the next compilation, same code, same versions. This was the final solution to me. |
Bug Report
Problem
This issue is started to occur after migrated to cordova-ios 6.0.0
What is expected to happen?
Splash screen automatically hides with no white screen after giving this.splashscreen.hide() in device ready function.
What does actually happen?
Splash screen is not manually hiding even after calling this.splashscreen.hide() in device ready function.
Splash screen is not hiding without AutoHideSplashScreen set to true.
If AutoHideSplashScreen is set to true in config.xml it does not hiding with this.splashscreen.hide(). It is hiding only when setting SplashScreenDelay" value="3000" in config.xml.
Information
Migrate cordova-ios ~5 to 6.0.0.
Upgrade splash screen to 6.0.0 version.
Command or Code
in Config.xml
this.platform.ready().then(() => {
this.splashscreen.hide();
}
in app.component.ts
Environment, Platform, Device
Ionic:
Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 5.5.1
@angular-devkit/build-angular : 0.803.29
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.3.29
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 33 other plugins)
Utility:
cordova-res : not installed
native-run (update available: 1.3.0) : 0.3.0
System:
ios-deploy : 1.11.3
ios-sim : 8.0.2
NodeJS : v12.18.3 (/usr/local/bin/node)
npm : 6.14.6
OS : macOS Catalina
Xcode : Xcode 12.2 Build version 12B45b
Version information
Checklist
The text was updated successfully, but these errors were encountered: