Does SplashScreen plugin require Cordova Splashscreen plugin?
See original GitHub issueHi all, I’ve followed instructions on Capacitor documentation page to use SplashScreen on my app but when I run it on emulator (both Android and iOS) I get the console message:
Native: tried calling SplashScreen.hide, but the SplashScreen plugin is not installed.
Install the SplashScreen plugin: 'ionic cordova plugin add cordova-plugin-splashscreen'
Since Capacitor documentations says that Capacitor plugins replace Cordova plugins, I cannot understand the cause of these console message, can you please point me in the right direction to sort it out?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
cordova-plugin-splashscreen
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 >Apache Cordova Plugin splashscreen - GitHub
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 Splash Screen Plugin for Android & iOS
This Cordova plugin displays and hides a splash screen during application launch. Show and hide the splash screen after the Android or iOS...
Read more >cordova-plugin-splashscreen on CocoaPods.org
cordova-plugin-splashscreen. This plugin is required to work with splash screens. This plugin displays and hides a splash screen during application launch.
Read more >Cordova Plugin SplashScreen - Javatpoint
To work with the splash screens, you need to use the Splash Screen plugin. This plugin is used to display and hide the...
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 Free
Top 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
Hi @tntwist, thank you so much for your help! Indeed my
app.component.ts
was importing@ionic-native
and referencing both Splashscreen and Statusbar plugins. The root cause is the Ionic CLI which creates the file when a new project is started even if you don’t specify the--cordova
option.Hi,
it seems that you call the cordova splashscreen plugin somewhere in your ionic app. Maybe you still have some references to the ionic native plugin for splashscreen: https://ionicframework.com/docs/native/splash-screen
Cloud look like this: