Skip to content
Permalink
Browse files
CB-10650 Non-index content.src causes Splashscreen to be not displaye…
…d on browser
  • Loading branch information
daserge committed Feb 19, 2016
1 parent 5ea854d commit 850159490c4b0e90e5a64287ddda689dbb577084
Showing 3 changed files with 4 additions and 5 deletions.
@@ -84,14 +84,15 @@ The plugin reloads splash drawable whenever orientation changes, so you can spec
You can use the following preferences in your `config.xml`:

<platform name="browser">
<preference name="SplashScreen" value="images/browser/splashscreen.jpg" /> <!-- defaults to "img/logo.png" -->
<preference name="SplashScreen" value="/images/browser/splashscreen.jpg" /> <!-- defaults to "/img/logo.png" -->
<preference name="SplashScreenDelay" value="3000" /> <!-- defaults to "3000" -->
<preference name="SplashScreenBackgroundColor" value="green" /> <!-- defaults to "#464646" -->
<preference name="ShowSplashScreen" value="false" /> <!-- defaults to "true" -->
<preference name="SplashScreenWidth" value="600" /> <!-- defaults to "170" -->
<preference name="SplashScreenHeight" value="300" /> <!-- defaults to "200" -->
</platform>

__Note__: `SplashScreen` value should be absolute in order to work in a sub-page.

### Android and iOS Quirks

@@ -26,7 +26,7 @@ var position = { x: 0, y: 0, width: splashImageWidth, height: splashImageHeight
var localSplash; // the image to display
var localSplashImage;
var bgColor = "#464646";
var imageSrc = 'img/logo.png';
var imageSrc = '/img/logo.png';
var splashScreenDelay = 3000; // in milliseconds
var showSplashScreen = true; // show splashcreen by default
var cordova = require('cordova');
@@ -19,11 +19,9 @@
*
*/

/* global win:true */

( function() {

win = null;
var win = null;

module.exports = {
show: function() {

0 comments on commit 8501594

Please sign in to comment.