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

Sergey Grebnov commented on CB-4645:
------------------------------------

We now rely on browser native implementation on Android so this issue is not 
actual anymore..

> A discrepancy between Java and Javascript location update intervals
> -------------------------------------------------------------------
>
>                 Key: CB-4645
>                 URL: https://issues.apache.org/jira/browse/CB-4645
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>    Affects Versions: 3.0.0
>         Environment: Android
>            Reporter: Juha Ruotsalainen
>            Priority: Minor
>              Labels: android, javascript, triaged
>
> The scenario in short:
> Java:
> - GPSListener.start() subscribes for location updates with one minute 
> intervals.
> Javascript:
> - geolocation.watchPosition() accepts an object where you can specify the 
> location update interval.
> Our experience with this is that no matter what we specify in JS-code, we get 
> location updates once a minute. Which is not surprising, since location 
> update request is initially called with 60000 ms intervals. Later 
> watchPosition calls, when propagated to Java-side, do not update the interval 
> on locationManager.
> For our needs, we changed the hard-coded 60000 ms down to 1000 ms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to