cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6863) Default Cordova bridge broken due to replacing window.navigator (iOS 8)
Date Thu, 05 Jun 2014 21:18:03 GMT

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

Shazron Abdullah commented on CB-6863:
--------------------------------------

xhr method will also not work if navigator.userAgent is null obviously because of this:
https://github.com/apache/cordova-js/blob/5a38908fb54f2ad7dff837810e89e9f6a614cdbf/src/ios/exec.js#L220

but its fine since we default to IFRAME_NAV if it is null, and we are working on the new WKWebView
bridge for iOS 8

> Default Cordova bridge broken due to replacing window.navigator (iOS 8)
> -----------------------------------------------------------------------
>
>                 Key: CB-6863
>                 URL: https://issues.apache.org/jira/browse/CB-6863
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS 8 beta 1
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>             Fix For: 3.6.0
>
>
> https://developer.apple.com/library/prerelease/ios/releasenotes/General/RN-iOSSDK-8.0/index.html
> WebKit
> - Known Issues
> -- Applications that use Apache Cordova/PhoneGap are broken due to a bug that causes
the window.navigator.userAgent object to become undefined when window.navigator is replaced
by a pure JavaScript wrapper object.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message