Gregor Mayr created CB-11518:
--------------------------------

             Summary: Windows splashscreen crashes when ActivationKind != launch
                 Key: CB-11518
                 URL: https://issues.apache.org/jira/browse/CB-11518
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin SplashScreen, Windows
            Reporter: Gregor Mayr


My app has registered a protocol handler, to enable deep linking from our 
website (app linking).

If the app is closed and called via protocol/file/... the app will crash, as 
the splashscreen is null.

Steps to reproduce:
- Register a protocol handler
- Make sure the app is closed
- execute the scheme
- see it crash ;-)

I don't know if the check is really needed:
https://github.com/apache/cordova-windows/blob/master/cordova-js-src/splashscreen.js#L289

The app will crash everytime when ActivationKind != launch.

Of course I can do a PR but I don't know the side effects yet.

Kind regards,
Gregor.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to