You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/29 08:10:49 UTC

[jira] [Commented] (CB-8443) Android: nothing happens if GPS is turned off

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

ASF GitHub Bot commented on CB-8443:
------------------------------------

GitHub user sgrebnov opened a pull request:

    https://github.com/apache/cordova-plugin-geolocation/pull/61

    CB-8443 Android: nothing happens if GPS is turned off

    https://issues.apache.org/jira/browse/CB-8443
    
    * Documented native Android behavior when location service is turned off and no timeout parameter is specified
    * Removed old Android quirks for Android 2.x (not supported anymore)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-geolocation CB-8443

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-geolocation/pull/61.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #61
    
----
commit 0fcaa3fe07c7afc7debc5df636c07116daf05ffd
Author: sgrebnov <v-...@microsoft.com>
Date:   2015-12-29T07:06:42Z

    CB-8443 Android: nothing happens if GPS is turned off

----


> Android: nothing happens if GPS is turned off
> ---------------------------------------------
>
>                 Key: CB-8443
>                 URL: https://issues.apache.org/jira/browse/CB-8443
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>    Affects Versions: 3.5.0
>         Environment: moto G android 4.4.4
>            Reporter: clement bidon
>              Labels: android, triaged
>
> to goe the error:  disable "ALL LOCATION SERVICE" on the phone.
> call "getCurrentPosition" or "watchPosition" functions without any timout.
> The "onError" function should be called with "PositionError.PERMISSION_DENIED" or with "PositionError.POSITION_UNAVAILABLE", BUT IT S NOT THE CASE: --> nothing happens.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org