cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4521) Geolocation plugin timeouts on Android device with Cordova 3.0.X
Date Tue, 13 Aug 2013 15:57:47 GMT

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

ASF subversion and git services commented on CB-4521:
-----------------------------------------------------

Commit 08fd6f8fafc386963946ad2172ef158119e68272 in branch refs/heads/dev from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=08fd6f8 ]

[CB-4521] Fix geolocation not working after a page change.

                
> Geolocation plugin timeouts on Android device with Cordova 3.0.X
> ----------------------------------------------------------------
>
>                 Key: CB-4521
>                 URL: https://issues.apache.org/jira/browse/CB-4521
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>    Affects Versions: 3.0.0
>         Environment: Device: Galaxy Nexus 4.3 Stock
> PC: Ubuntu 12.04 32b
>            Reporter: Vladimir Riha
>            Assignee: Steve Gill
>            Priority: Critical
>
> Geolocation fails on Android device with "Position retrieval timeout" message. I'm trying
to use it like:
> {noformat} 
> locationWatchId = window.navigator.geolocation.watchPosition(callback, onFail, {maximumAge:
10000, timeout: 10000, enableHighAccuracy: true});
> {noformat} 
> I've tried to double maximumAge and timeout and no change. The very same works with I
build the project with PhoneGap 2.8.1. Here are the steps I'm doing with Cordova 3.0.1:
> {noformat} 
> cordova create hello com.example.hello HelloWorld
> cd hello/
> cordova platform add android
> cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
> ... adding more plugin...
> cordova build
> cordova run android
> {noformat} 
> The same works on iPad. I started thread [1] about it and one other user has the same
problem with Cordova 3.0.4
> [1] https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message