Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70809

Splash screen not hiding on Android

$
0
0

Like the title says, the splash screen is not hiding on Android.

Capacitor 3.4.1, @capacitor/splash-screen 1.2.2

capacitor.config.ts has:

  plugins: {
    SplashScreen: {
      launchAutoHide: false,
	  launchShowDuration: 60000,
	  androidScaleType: 'CENTER_CROP',
	  showSpinner: true
    },

The code is like this:

import { SplashScreen } from '@capacitor/splash-screen';

console.log(`Hide splash screen`);
SplashScreen.hide().then(()=>console.log(`Splashscreen hidden`));

Both messages appear in console but the Splashscreen is still on.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70809

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>