cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Diehl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6911) [CordovaJS][iOS 8] - "deprecated attempt to access property" errors when accessing anything off window.navigator
Date Fri, 19 Sep 2014 19:12:34 GMT

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

Fabian Diehl commented on CB-6911:
----------------------------------

Guys, let Shazron time to test on all platforms, it's a js change not just ios...
If you want to get the fix simply do the following:

1. Clone the cordova-js (Version 3.7)
2. Grunt the git, this will create all the native js files.
3. Replace the cordova.js in your platform_www folder

This is it, you have the fix and shazron has time to test :D if you need more detailed instruction
I would gladly help you or send you the js for the platform you need. 

Hope this discussion will be closed nown :D

Kind regards
Fabian
Kind regards

> [CordovaJS][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
>             Fix For: 3.7.0
>
>         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)

Mime
View raw message