Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 2

Splash screen not showing

Solved! Go to Solution.

Hello guys,

 

I'm rather new to this so I came to you for help. I need the make an app with a splash screen (as an assignment) and followed a tutorial to do this, but when i create the app and install it on my phone (Xiaomi mi a1, android 9) it doesn't show.

Can someone please tell me what I do wrongly. Thank you in advance. My config.xml looks like this:

 

<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.mediapp.app" versionCode="0.0.1" version="0.0.1">
 <!--  versionCode is optional and Android only  -->
<name>Medi app</name>
<description> De app voor patienten en professionals </description>
<author href="http://MijnGezondheid.Net " email="lennert.schavemaker@hotmail.com"> Lennert Schavemaker </author>
<platform name="android"/>
<splash platform="android" qualifier="port-xhdpi" src="splash/XHDPI.png"/>
<splash platform="android" qualifier="port-xxhdpi" src="splash/XXHDPI.png"/>
<splash platform="android" qualifier="port-xxxhdpi" src="splash/XXXHDPI.png"/>
<splash platform="android" qualifier="land-xhdpi" src="splash/XHDPI.png"/>
<splash platform="android" qualifier="land-xxhdpi" src="splash/XXHDPI.png"/>
<splash platform="android" qualifier="land-xxxhdpi" src="splash/XXXHDPI.png"/>
<splash src="splash.png"/>
<preference name="orientation" value="portrait"/>
<preference name="fullscreen" value="true"/>
<preference name="KeepRunning" value="false"/>
<preference name="SplashScreen" value="screen"/>
<preference name="android-build-tool" value="gradle"/>
<preference name="SplashScreenDelay" value="5000"/>
<plugin name="cordova-plugin-splashscreen" source="npm"/>
<plugin name="cordova-plugin-android-photo" source="npm"/>
</widget>
1 Reply
Solution
Copilot Lvl 3
Message 2 of 2

Re: Splash screen not showing

I had config.xml with a capital C. Changing solved this.