cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakatyal <>
Subject [GitHub] cordova-plugin-splashscreen pull request: CB-10688:Cordova Plugin ...
Date Fri, 04 Mar 2016 00:48:37 GMT
Github user rakatyal commented on a diff in the pull request:
    --- Diff: ---
    @@ -44,6 +44,57 @@ Report issues with this plugin on the [Apache Cordova issue tracker][Apache
     - Windows
     - Browser
    +## Example Configuration
    +In the top-level `config.xml` file (not the one in `platforms`), add configuration elements
like those specified here.
    +Please notice that the value of the "src" attribute is relative to the project directory
and not to the www directory. You can name the source image whatever you like. The internal
name in the app is determined by Cordova.
    +    <platform name="android">
    +        <!-- you can use any density that exists in the Android project -->
    +        <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>
    +    <platform name="ios">
    +        <!-- images are determined by width and height. The following are supported
    +        <splash src="res/screen/ios/Default~iphone.png" width="320" height="480"/>
    +        <splash src="res/screen/ios/Default@2x~iphone.png" width="640" height="960"/>
    +        <splash src="res/screen/ios/Default-Portrait~ipad.png" width="768" height="1024"/>
    +        <splash src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
    +        <splash src="res/screen/ios/Default-Landscape~ipad.png" width="1024" height="768"/>
    +        <splash src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
    +        <splash src="res/screen/ios/Default-568h@2x~iphone.png" width="640" height="1136"/>
    +        <splash src="res/screen/ios/Default-667h.png" width="750" height="1334"/>
    +        <splash src="res/screen/ios/Default-736h.png" width="1242" height="2208"/>
    +        <splash src="res/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>
    +    </platform>
    +    <platform name="wp8">
    +        <!-- images are determined by width and height. The following are supported
    +        <splash src="res/screen/wp8/SplashScreenImage.jpg" width="768" height="1280"/>
    +    </platform>
    +    <platform name="windows8">
    --- End diff --
    Please rename it to windows.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message