question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SplashScreen does not have web implementatio On Android

See original GitHub issue

Description 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:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jcesarmobilecommented, May 22, 2019

thanks for the sample project, it was helpful

0reactions
bubundas17commented, May 22, 2019

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate your existing splash screen implementation to Android ...
If you have previously implemented a custom splash screen in Android 11 or lower, you'll need to migrate your app to the SplashScreen...
Read more >
Show SplashScreen for Android and iOS, but not the web app
I need to show the splash screen for Android and iOS, but not for the web app. How can I disable the splash...
Read more >
Splash Screen Capacitor Plugin API
The Splash Screen API provides methods for showing or hiding a Splash image.
Read more >
How to get splash screens to show in android apps generated ...
How to get splash screens to show in android apps generated by Phonegap Build · Do not use the npm version of cordova-plugin-splashscreen, ......
Read more >
Is not configured for a custom splash screen
A custom splash screen makes your Progressive Web App (PWA) feel more like an app built for that device. By default, when a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found