[
https://issues.apache.org/jira/browse/CB-6911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126705#comment-14126705
]
Shazron Abdullah commented on CB-6911:
--------------------------------------
This problem crops up whenever any object off "navigator" is called after
cordova.js is loaded. I didn't have any plugins loaded.
To test this, I have a button that will alert the navigator.userAgent value to
the screen.
1. If cordova.js is loaded before the alert is triggered, the error shows in
the console
2. If cordova.js is not loaded at all, and the alert is triggered, no error is
show in the console
Something in cordova.js is causing this. This error seems to be harmless
however (so far -- but eventually this has to be fixed), the values off
navigator can be accessed properly.
Changing this component to a cordova-js issue.
> Geolocation fails in iOS 8 - "deprecated attempt to access property" errors
> ---------------------------------------------------------------------------
>
> Key: CB-6911
> URL: https://issues.apache.org/jira/browse/CB-6911
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Plugin Geolocation
> Environment: iOS 8 beta 1
> 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)