cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: Cordova 2.1 shows the wrong splash screen for a split second
Date Tue, 30 Oct 2012 17:32:00 GMT
This is usually a configuration error. Please file an issue with
environment information, and perhaps attach a repro in the form of a
sample project. File it at http://issues.cordova.io

On Mon, Oct 29, 2012 at 7:59 PM, Vincent Wong <vincent@mhelpdesk.com> wrote:
> I have updated all my splash screens to show my own. I also
> set AutoHideSplashScreen to false. I've added:
>
>  document.addEventListener("deviceready", onDeviceReady, false);
>
>
>
>          function onDeviceReady() {
>
>              //console.log("We got device ready");
>
>              //cordova.exec(null, null, "SplashScreen", "hide", []);
>
>              // Soon to be
>
>               navigator.splashscreen.hide();
>
>          }
>
>
> The correct splash screen shows for 1 second. The the default Cordova
> splash shows for another second before my app is loaded.
>
> How do I prevent the default Cordova splash from showing?

Mime
View raw message