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/09/26 23:42:04 UTC

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

Carlos Santana created CB-4934:
----------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira