bug: SplashScreen won't hide manually
See original GitHub issueBug Report
Capacitor Version
npx cap doctor
output: 1.3.0
Affected Platform(s)
- Android
- iOS
- Electron
- Web
Current Behavior
SplashScreen.hide() won’t hide the splashscreen.
Expected Behavior
The splash screen should hide when splashscreen.hide() is called and when launchAutoHide: false
Sample Code or Sample Application Repo
https://github.com/ionic-team/ionic-stencil-conference-app “plugins”: { “SplashScreen”: { “launchAutoHide”: false, “showSpinner”: false } }
Reproduction Steps
Pull down the ionic stencil conference app, add the below code code to the capacitor.config.json file, and then run the ios app and notice the SplashScreen won’t hide when SplashScreen.hide() is called in the app-root.tsx “plugins”: { “SplashScreen”: { “launchAutoHide”: false, “showSpinner”: false } }
Other Technical Details
npm --version
output: 6.9.0
node --version
output: 10.16.0
pod --version
output (iOS issues only): 1.8.4
Other Information
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
android - Splash Screen won't hide - Stack Overflow
I'm trying to add a SplashScreen to my Application but i'm facing an issue: The SplashScreen loads and just that... it doesn't take...
Read more >Windows 10 Taskbar Won't Hide - Solved [7 Ways To Fix It]
Click on the “Start” button and navigate to settings. Look for the taskbar settings and open taskbar settings. Scroll down the screen further ......
Read more >Splash screens - Android Developers
Either the app triggers onResume() or the splash screen times out automatically so make sure the motion can be comfortably skipped. The splash...
Read more >A Comprehensive Guide to Android 12's Splash Screen API
By default all apps on Android 12 will show a splash screen with the app icon at the centre. Sounds great until you...
Read more >Splash Screen - Apache Cordova
For other platforms, check the cordova-plugin-splashscreen for support. ... when manually showing/hiding the splash screen in your application's code:.
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
same to me because I used the auto-import of Webstorm which imported “only”
Splashscreen
as I didn’t typedPlugins
-> auto-import ->
which doesn’t produce any compilation error but is incorrect. correct should be:
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.