SplashScreen does not have web implementatio On Android
See original GitHub issueDescription of the problem: I am trying to build a capacitor app using Nuxt + Vuetify but when calling Any Device Specific Plugin it throwing an error “Uncaught (in promise) <PluginName>does not have web implementation.”
in my case, I am trying to hide the Splash screen But it shows an error On an Android Device caught (in promise) SplashScreen does not have web implementation. It is happening On an Android Device.
after looking around a bit, I came to realize in fact no API works! here I have a created a fresh Nuxt Project please have a look capacitor-nuxt-demo I have also built the apk and uploaded here. app-debug.apk
Screenshot: Screenshot Please have a look. If you found the solution, please add a pull request.
import { Plugins } from '@capacitor/core';
const { SplashScreen, StatusBar } = Plugins;
...
mounted(){
try{
SplashScreen.hide()
StatusBar.setBackgroundColor({color: "#fff"})
} catch(e){
console.log(e)
}
}
Affected platform
- Android
- iOS
- electron
- web
OS of the development machine
- Windows
- macOS
- linux
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
thanks for the sample project, it was helpful
Oh, Thank you so much! I’d rather wait. because there is still some time left in releasing our application. thank you for your effort. Have a nice day!