cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mandeep Pasbola (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6548) getCurrentPosition returns last known position when the Location services are turned off in Android (KITKAT) V4.4.2
Date Tue, 29 Apr 2014 07:07:14 GMT

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

Mandeep Pasbola updated CB-6548:
--------------------------------

    Description: 
I am developing a Cordova App and facing an issue in Android V4.4.2 (KITKAT ). 
geolocation.getCurrentPosition method returns a position even if the Location services are
turned off in settings and position returned is the last known position.
Options : maximumAge: 0, timeout: 60000, enableHighAccuracy: false

Method throws Access Denied error in previous versions of android which is correct.


  was:
I am developing a Cordova App and facing an issue in Android V4.4.2 (KITKAT ). 
geolocation.getCurrentPosition method returns a position even if the Location services are
turned off in settings and position returned is the last known position.
Options : maximumAge: 0, timeout: 60000, enableHighAccuracy: false

It works fine in previous versions of android, method throws Access Denied error.



> getCurrentPosition returns last known position when the Location services are turned
off in Android (KITKAT) V4.4.2
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-6548
>                 URL: https://issues.apache.org/jira/browse/CB-6548
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Geolocation
>    Affects Versions: 2.9.0
>         Environment: Android 4.4.2
>            Reporter: Mandeep Pasbola
>              Labels: Android4.4.x, geolocation, getCurrentPosition
>
> I am developing a Cordova App and facing an issue in Android V4.4.2 (KITKAT ). 
> geolocation.getCurrentPosition method returns a position even if the Location services
are turned off in settings and position returned is the last known position.
> Options : maximumAge: 0, timeout: 60000, enableHighAccuracy: false
> Method throws Access Denied error in previous versions of android which is correct.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message