[ 
https://issues.apache.org/jira/browse/CB-9136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Jones updated CB-9136:
--------------------------
    Description: 
Android Splash screen or not working as per documentation. 

http://cordova.apache.org/docs/en/5.0.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens

Documentation implies that the plugin is option, needs more details.

Suggest merging information from Read.md: 
https://github.com/apache/cordova-plugin-splashscreen

  was:
Android Splash screen or not working as per documentation. I tested by 
inserting following into config.xml

<platform name="android">
    <splash src="res/screen/android/splash-land-hdpi.png" density="land-hdpi"/>
    <splash src="res/screen/android/splash-land-ldpi.png" density="land-ldpi"/>
    <splash src="res/screen/android/splash-land-mdpi.png" density="land-mdpi"/>
    <splash src="res/screen/android/splash-land-xhdpi.png" 
density="land-xhdpi"/>

    <splash src="res/screen/android/splash-port-hdpi.png" density="port-hdpi"/>
    <splash src="res/screen/android/splash-port-ldpi.png" density="port-ldpi"/>
    <splash src="res/screen/android/splash-port-mdpi.png" density="port-mdpi"/>
    <splash src="res/screen/android/splash-port-xhdpi.png" 
density="port-xhdpi"/>
</platform>

<preference name="SplashScreenDelay" value="10000" />

I then created matching file/folder structure in the root of my project (next 
to config.xml).

On build no splash screen loads only a black screen then app load as normal.


    Environment: Cordova 5.0.0, Android 
http://cordova.apache.org/docs/en/5.0.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens
  (was: Windows 8.1, Cordova 5.0.0 Command Line, Targeting Android, Tetsing on 
Android Nexus 5 Android 5.0)
         Labels: android config.xml cordova splashscreen website  (was: android 
config.xml cordova splashscreen)
     Issue Type: Improvement  (was: Bug)
        Summary: Android Splash documentation needs more details  (was: Android 
Splash not working or documentation incorrect)

> Android Splash documentation needs more details
> -----------------------------------------------
>
>                 Key: CB-9136
>                 URL: https://issues.apache.org/jira/browse/CB-9136
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, CLI, Website
>    Affects Versions: 5.0.0
>         Environment: Cordova 5.0.0, Android 
> http://cordova.apache.org/docs/en/5.0.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens
>            Reporter: Ben Jones
>              Labels: android, config.xml, cordova, splashscreen, website
>
> Android Splash screen or not working as per documentation. 
> http://cordova.apache.org/docs/en/5.0.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens
> Documentation implies that the plugin is option, needs more details.
> Suggest merging information from Read.md: 
> https://github.com/apache/cordova-plugin-splashscreen



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to