You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2013/10/17 21:26:44 UTC

[jira] [Resolved] (CB-4934) plugin-splashscreen should not show by default on Windows8

     [ https://issues.apache.org/jira/browse/CB-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Santana resolved CB-4934.
--------------------------------

    Resolution: Fixed

Resolved in plugin "org.apache.cordova.splashscreen@0.2.3"
Repo: "apache/cordova-plugin-splashscreen"

> plugin-splashscreen should not show by default on Windows8
> ----------------------------------------------------------
>
>                 Key: CB-4934
>                 URL: https://issues.apache.org/jira/browse/CB-4934
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>    Affects Versions: Master
>         Environment: windows8
>            Reporter: Carlos Santana
>            Assignee: Carlos Santana
>             Fix For: 3.1.0
>
>
> After adding cordova-plugin-splashscreen to windows8 using plugman
> When the App starts it shows the splashscreen and never hides
> The fix is simple is to remove the call to show from actived callback in 
> www/windows8/SplashScreenProxy.js
> function activated(evt) {
>     if (evt.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch) {
>         splash = evt.detail.splashScreen;
>         position = evt.detail.splashScreen.imageLocation;
>         SplashScreen.show();
>     }
> }
> remove the "SplashScreen.show();"



--
This message was sent by Atlassian JIRA
(v6.1#6144)