You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2013/10/08 01:02:42 UTC

[jira] [Updated] (CB-4645) A discrepancy between Java and Javascript location update intervals

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

Steve Gill updated CB-4645:
---------------------------

    Assignee:     (was: Steve Gill)

> 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: javascript
>
> 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.1#6144)