Skip to content

jgleal/Phonegap-Splashscreen-Test

 
 

Repository files navigation

Phonegap-Splashscreen-Test

A simple test of Phonegaps's Splash Screen and Icons API.

This App now loads the icons and the splash screen, as of 2015-05-14.

Splash Screens are Evil, Don't Use Them! - Cyril Mottier

http://cyrilmottier.com/2012/05/03/splash-screens-are-evil-dont-use-them/

Phonegap Reference

http://plugins.cordova.io/#/package/org.apache.cordova.splashscreen

BUGS - BUGS

There are many, many bugs, see NOTES.md

Platforms Implemented Here

  • Android (Sizes:200x320-ldpi, 320x480-mdpi, 480x800-hdpi, 720x1280-xhdpi)
  • iOS (iPhone 320x480-portrait, 640x960-portrait, 640x1136-portrait)
  • iOS (iPad 768x1024-portrait, 1024x768-landscape)
  • NOTE I have not tested all sizes.
My Devices Size OS version
iPodTouch 640x1136-portrait 8.3
Huawei-M931 480x800-hdpi 4.0.4
Samsung GT-P3113 320x480-mdpi 4.2.2
Sprout Channel Cubby 320x480-mdpi 4.4.2
Samsung SCH-R720 320x480-mdpi 2.3.4

####Reference for iOS devices and screen sizes#### http://www.idev101.com/code/User_Interface/launchImages.html

This article suggests your can give the images any filename you want. When I finally got mine to work, I tested that. The answer is: Yes you can name the images any filename you want. My iPodTouch had an actual pixel size of 640x1136.

Phonegap Supported Platforms Yes (X), No (-) or Quirk (Q)
Amazon Fire OS X
Android Q
BlackBerry 10 Q
iOS Q
Windows Phone 7 and 8 X
Windows 8 X

CLI and API

From: https://github.com/apache/cordova-plugin-splashscreen/

config.xml

From: https://github.com/phonegap/phonegap-start/blob/master/www/config.xml

Known Issues

Phonegap calls these "Quirks".

Platforms Quirk
Android The pathname components of the icon are tied via AndriodManifest.xml and config.xml. See: http://tekeye.biz/2013/android-icon-size
BlackBerry 10 The config.xml file's AutoHideSplashScreen setting must be false.
iOS The config.xml file's AutoHideSplashScreen setting must be false. SEE Phonegap documents for more details.
Windows 8 has issues see NOTES

About

a simple test of Phonegaps's Splash Screen API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 96.4%
  • HTML 3.6%