cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doan Isakov (JIRA)" <>
Subject [jira] [Created] (CB-11474) protocol launch fails due to splash null reference
Date Thu, 23 Jun 2016 09:41:16 GMT
Doan Isakov created CB-11474:

             Summary: protocol launch fails due to splash null reference
                 Key: CB-11474
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows
    Affects Versions: 4.4.0
         Environment: OS: Windows 10
Compiled with Visual Studio Community Edition 2015 
Run on PC as a Windows App
            Reporter: Doan Isakov

When the app launch in Windows is triggered using a custom URL with some payload, the app
crashes. As far as I could analyze, the reason seems to be  a null reference for the system
splash screen. The following occurs in cordova.js:

# The function *activated* is called
function activated(eventObject) {
    if (eventObject.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch)
        // Retrieve splash screen object 
        splash = eventObject.detail.splashScreen;
# It does not set the splash screen because the launch is *Windows.ApplicationModel.Activation.ActivationKind.protocol*
# The function *positionControls* is called and it access the splash object
function positionControls() {

    // Position the extended splash screen image in the same location as the system splash
screen image.
    if (isPhone) { = 0; = 0;
    } else { = splash.imageLocation.y + 'px';
# The app crashes

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message