[
https://issues.apache.org/jira/browse/CB-6911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126822#comment-14126822
]
Angus Bremner edited comment on CB-6911 at 9/9/14 11:05 AM:
------------------------------------------------------------
Hi Shazron
Thanks for looking into this. I am trying to see if your patch works, although
every time I build my cordova.js is overwritten and the fix is removed. Is
there a way to update this on an existing cordova project?
EDIT: I was able to edit cordova.js directly in Xcode and can also confirm the
"deprecated attempt to access property" errors no longer appear. Thanks!
was (Author: abremner):
Hi Shazron
Thanks for looking into this. I am trying to see if your patch works, although
every time I build my cordova.js is overwritten and the fix is removed. Is
there a way to update this on an existing cordova project? Thanks.
> iOS 8 - "deprecated attempt to access property" errors when accessing
> anything off window.navigator
> ---------------------------------------------------------------------------------------------------
>
> Key: CB-6911
> URL: https://issues.apache.org/jira/browse/CB-6911
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: CordovaJS
> Environment: iOS 8 beta 5 (device)
> Reporter: Jeff Schilling
> Assignee: Shazron Abdullah
> Attachments: Screen Shot 2014-09-01 at 9.03.30 pm.png, Screen Shot
> 2014-09-04 at 9.30.58 pm.png
>
>
> references to window.navigator.* (platform, geolocation) etc fail with
> Deprecated attempt to access property 'geolocation' on a non-Navigator object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)