Splash screen not working on Android with Cordova 6.0 and splash plugin 3.1.0

My config.xml looks like this:

<preference name="SplashScreen" value="screen"/>
      <preference name="SplashScreenDelay" value="3000"/>
    <platform name="android">
        <icon src="resources/android/icon/drawable-ldpi-icon.png" density="ldpi"/>
        <icon src="resources/android/icon/drawable-mdpi-icon.png" density="mdpi"/>
        <icon src="resources/android/icon/drawable-hdpi-icon.png" density="hdpi"/>
        <icon src="resources/android/icon/drawable-xhdpi-icon.png" density="xhdpi"/>
        <icon src="resources/android/icon/drawable-xxhdpi-icon.png" density="xxhdpi"/>
        <icon src="resources/android/icon/drawable-xxxhdpi-icon.png" density="xxxhdpi"/>
        <splash src="resources/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
        <splash src="resources/android/splash/drawable-land-mdpi-screen.png" density="land-mdpi"/>
        <splash src="resources/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
        <splash src="resources/android/splash/drawable-land-xhdpi-screen.png" density="land-xhdpi"/>
        <splash src="resources/android/splash/drawable-land-xxhdpi-screen.png" density="land-xxhdpi"/>
        <splash src="resources/android/splash/drawable-land-xxxhdpi-screen.png" density="land-xxxhdpi"/>
        <splash src="resources/android/splash/drawable-port-ldpi-screen.png" density="port-ldpi"/>
        <splash src="resources/android/splash/drawable-port-mdpi-screen.png" density="port-mdpi"/>
        <splash src="resources/android/splash/drawable-port-hdpi-screen.png" density="port-hdpi"/>
        <splash src="resources/android/splash/drawable-port-xhdpi-screen.png" density="port-xhdpi"/>
        <splash src="resources/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/>
        <splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
      </platform>

Please provide your inputs.

I had the ame probleem with plug-in 3.1.0.

I removed plug-in 3.1.0 and reinstalled plug-in 3.0.0 with:
sudo Ionic plugin add cordova-plug-in-splashscreen@3.0.0

4 Likes

Reverting to 3.0.0 fixed it for me!

Just want to note the proper command I ran was:
cordova plugin rm cordova-plugin-splashscreen ionic plugin add cordova-plugin-splashscreen@3.0.0

I installed the splashscreen plugin from a mirror:

sudo cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git

Works like expected

If you look in plugins with ionic plugins las I have for splash screen version @3.1.0. This is a working version.