Juha Ruotsalainen created CB-4645:
-------------------------------------

             Summary: 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
            Assignee: Steve Gill
            Priority: Minor


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

Reply via email to