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

Removal of Windows 8.0 code breaks some types of Windows 8.1 devices

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Done
    • 4.4.2
    • None
    • cordova-windows
    • Windows 8.1 Pro Dell Tablet x64 bit

    Description

      In Apache Cordova (v6.3.1) WINDOWS platform code (v4.5.0-dev), due to Issue CB-10480 ( https://github.com/apache/cordova-windows/commit/d783f2073430492e59d99009b30411fb8e8e897a ) in platform.js the final "else" clause was removed
      " // windows 8.0 + IE 10

      • scriptElem.src = "//Microsoft.WinJS.1.0/js/base.js";", since Windows 8.0 code was removed.

      Now, the Windows 8.1. Pro Dell Tablet I'm testing with (Internet Explorer 11), is reporting the variable navigator.appVersion as "5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36". Due to that value, therefore Apache Cordova will never load the WinJS stuff because it falls thru the logic entirely..

      The end results is that the application crashes when anything WinJS related is accessed by code (when I try to do a network check, it will obviously fail), since WinJS never loaded properly.

      Recommend having one basic final "else" clause that will either 1. Load a very basic version to provide SOME functionality, or 2) Provide some form of loading error feedback. But that's just my own opinion..

      Thanks for all the hard work and great software.

      Attachments

        Activity

          People

            vladimir.kotikov Vladimir Kotikov
            robert-crowell-gdit robert-crowell-gdit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: