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

Joe Bowser commented on CB-5663:
--------------------------------

Why aren't you using the built-in Geolocation on Android? 

> 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)

Reply via email to