You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/01/14 23:43:22 UTC

[jira] [Resolved] (CB-5663) Geolocation minTime on Android is 60s, preventing realtime updates

     [ https://issues.apache.org/jira/browse/CB-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-5663.
----------------------------

    Resolution: Won't Fix

We will be deprecating the Geolocation in favour of Web Geolocation.

> Geolocation minTime on Android is 60s, preventing realtime updates
> ------------------------------------------------------------------
>
>                 Key: CB-5663
>                 URL: https://issues.apache.org/jira/browse/CB-5663
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.3.0
>         Environment: Android 4.2, Intel Yolo phone
>            Reporter: Clayton Grassick
>
> cordova-plugin-geolocation / src / android / GPSListener.java has the minTime parameter on the 
> locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 60000, 0, this)
> set to 60 seconds. On Android platforms that respect that parameter, it means that the GPS location will only update every 60 seconds, making it less useful.
> I suggest changing it to 1000ms instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)