Calling `navigator.splashscreen.hide()` does not hide the splashscreen
See original GitHub issueBug Report
Problem
What is expected to happen?
Hiding the splashscreen by calling navigator.splashscreen.hide()
.
What does actually happen?
Its not hiding the splashscreen.
Information
Config
<?xml version='1.0' encoding='utf-8'?>
<widget id="..." version="...">
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="AutoHideSplashScreen" value="false" />
</widget>
Version information
- cordova 9.0.0 (cordova-lib 9.0.1)
- cordova-ios 6.1.0
- cordova-plugin-splashscreen 5.0.4
- cordova-android 8.1.0
- cordova-plugin-inappbrowser 4.0.0
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
navigator.splashscreen.hide() not working on cordova-android ...
I use AutoHideSplashScreen = false so that I can hide the splash screen after the UI is rendered. This works fine on iOS...
Read more >splashscreen.hide - Apache Cordova
Dismiss the splash screen. navigator.splashscreen.hide();. Description. This method dismisses the application's splash screen. Supported Platforms.
Read more >cordova-plugin-splashscreen - Git at Google
This plugin displays and hides a splash screen while your web application is launching. Using its methods you can also show and hide...
Read more >cordova-plugin-splashscreen on CocoaPods.org
Note: Extended splashscreen does not require the plugin on Windows (as opposed ... setTimeout(function () { navigator.splashscreen.hide(); }, splashDuration ...
Read more >cordova-plugin-splashscreen - npm
Using its methods you can also show and hide the splash screen manually. ... Note: Extended splashscreen does not require the plugin on ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can not tell why but after removing an reinstalling cordova-ios and splashscreen-plugin it works now:
Here is the key point: “… you don’t need the cordova-plugin-splashscreen since it’s added to cordova-ios since 6.0.0”.
Removing the old plugin fixed this for me.