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

[jira] [Comment Edited] (CB-10277) Error callback should be called w/ PositionError when location access is denied

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

Sergey Grebnov edited comment on CB-10277 at 12/29/15 9:03 AM:
---------------------------------------------------------------

It is currently called w/ `IllegalAccess` string.

The following code could be used to verify this behavior (cordova-android@5.x and geolocation from master should be used)

{code}
var onSuccess = function(position) {
};

function onError(error) {
    console.log(typeof error);
    console.log(error);
}

var watchId = navigator.geolocation.watchPosition(onSuccess, onError);
{code}


was (Author: sgrebnov):
It is currently called w/ `IllegalAccess` string.

> Error callback should be called w/ PositionError when location access is denied
> -------------------------------------------------------------------------------
>
>                 Key: CB-10277
>                 URL: https://issues.apache.org/jira/browse/CB-10277
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: Andriod, Triaged
>




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