Apache Cordova splash screens not showing in Android -


I'm running Apache Cordova 3.6.3-0.2.13. And I'm working splash screens. I have followed the documentation. And the icons are working, but there is no success for the splash screen. We are also using the ionic framework (version 1.2.8) at the top of the Cordova.

I have done that:

Added the icon and splash screen in config.xml to the project root:

  & Lt; Priority name = "splash screen" value = "splash" /> & Lt; Priority name = "splashcorderdale" value = "10000" /> & Lt; Platform name = "Android" & gt; & Lt; Icon src = "icons / icon page" /> & Lt ;! - You can use any density present in the Android project - & gt; & Lt; Splash src = "icons / android-splash-land-hdpi.png" density = "ground-hdpy" /> & Lt; Splash src = "symbol / Android-splash-land-ldpi" density = "land-ldpi" /> & Lt; Splash src = "symbol / Android-splash-land-MDPI" density = "ground-MDPI" /> & Lt; Splash src = "symbol / Android-splash-land-xhdpi" density = "ground-xhppi" /> & Lt; Splash src = "symbol / android-splash-port-hdpi.png" density = "port-hdpy" /> & Lt; Splash src = "icons / android-splash-port-ldpi.png" density = "port-ldpi" /> & Lt; Splash src = "symbol / android-splash-port-mdpi.png" density = "port-MDPI" /> & Lt; Splash src = "symbol / Android-splash-port-xhdpi" density = "port-xhdpi" /> & Lt; / Platform & gt;  

The directory is present and the files are also in place when I Ionic Run Android or Cordoba Run Android I create this project with code>. Platform / Android / Race / Drawable directory

also platform / Android / race / Xml / config.xml is updated correctly and < Code> & lt; Preferences & gt; and & lt; Icon & gt; and & lt; Splash & gt; Elements are in place.

I also tried with the org.apache.cordova.splashscreen plugin and did not even succeed. I've added the plugin to the ionic plugin by adding org.apache.cordova.splashscreen and onDeviceReady code navigator.splashscreen.show (); .

It was just, but it also does not show anything.

Change this problem yourself

  & lt; Priority name = "splash screen" value = "splash" />  

to

  & lt; Priority Name = "SplashScreen" Value = "Screen" />  

This is fixed.

Source:


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -