You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mandeep Pasbola (JIRA)" <ji...@apache.org> on 2014/05/27 11:33:01 UTC

[jira] [Commented] (CB-6548) getCurrentPosition returns last known position when the Location services are turned off in Android (KITKAT) V4.4.2

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

Mandeep Pasbola commented on CB-6548:
-------------------------------------

Hi Joe,
Is there any workaround you recommend.

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