cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: Cordova 2.1 shows the wrong splash screen for a split second
Date Tue, 30 Oct 2012 13:36:17 GMT
Hi Vincent,

What platform(s) do you see this happening on? We should file a bug for
this.


On Mon, Oct 29, 2012 at 10: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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message