Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11518

Windows splashscreen crashes when ActivationKind != launch

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              grma Gregor Mayr
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: