You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2016/08/24 14:20:20 UTC

[jira] [Commented] (CB-11753) Removal of Windows 8.0 code breaks some types of Windows 8.1 devices

    [ https://issues.apache.org/jira/browse/CB-11753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15435006#comment-15435006 ] 

Sergey Shakhnazarov commented on CB-11753:
------------------------------------------

[~robert-crowell-gdit], thanks for reporting!
Could you add a console log to output {{navigator.appVersion}} inside cordova.js and see the Javascript output log in Visual Studio?
Does this check fail inside a Windows Store app?

> Removal of Windows 8.0 code breaks some types of Windows 8.1 devices
> --------------------------------------------------------------------
>
>                 Key: CB-11753
>                 URL: https://issues.apache.org/jira/browse/CB-11753
>             Project: Apache Cordova
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Windows
>    Affects Versions: 4.4.2
>         Environment: Windows 8.1 Pro Dell Tablet x64 bit
>            Reporter: robert-crowell-gdit
>            Assignee: Vladimir Kotikov
>            Priority: Critical
>              Labels: cordova, easyfix, triaged, windows
>
> 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.



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

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