You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dziki Tapirek (JIRA)" <ji...@apache.org> on 2017/07/25 10:16:00 UTC

[jira] [Updated] (CB-13107) cordova-plugin-geolocation WifiService Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION

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

Dziki Tapirek updated CB-13107:
-------------------------------
    Description: 
Geolocation *does not work* only when connected to *wi-fi network* (when using GPS or using provider signal works fine).
I get following errors even if I have *granted permissions using Android 6.0 mechanism* for ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION.

07-25 07:55:07.651: E/*WifiService*(1418): Permission denial: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
07-25 07:55:07.787: E/NetworkLocationProvider(2744): Exception
07-25 07:55:07.787: E/NetworkLocationProvider(2744): java.lang.SecurityException: need INSTALL_LOCATION_PROVIDER permission, or UID of a currently bound location provider

  was:
Geolocation *does not work* only when connected to *wi-fi network* (when using GPS or using provider signal works fine).
I get follwoing errors even if I have *granted permissions using Android 6.0 mechanizm* for ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION.

07-25 07:55:07.651: E/*WifiService*(1418): Permission denial: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
07-25 07:55:07.787: E/NetworkLocationProvider(2744): Exception
07-25 07:55:07.787: E/NetworkLocationProvider(2744): java.lang.SecurityException: need INSTALL_LOCATION_PROVIDER permission, or UID of a currently bound location provider


> cordova-plugin-geolocation WifiService  Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-13107
>                 URL: https://issues.apache.org/jira/browse/CB-13107
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-geolocation
>         Environment: Windows 10
> node 6.11.1
> "@ionic-native/geolocation": "^4.1.0",
> "cordova-plugin-geolocation": "^2.4.3",
>  "@ionic/cli-plugin-cordova": "1.4.1",
> Android 6.0
>            Reporter: Dziki Tapirek
>              Labels: cordova-plugin-geolocation
>
> Geolocation *does not work* only when connected to *wi-fi network* (when using GPS or using provider signal works fine).
> I get following errors even if I have *granted permissions using Android 6.0 mechanism* for ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION.
> 07-25 07:55:07.651: E/*WifiService*(1418): Permission denial: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
> 07-25 07:55:07.787: E/NetworkLocationProvider(2744): Exception
> 07-25 07:55:07.787: E/NetworkLocationProvider(2744): java.lang.SecurityException: need INSTALL_LOCATION_PROVIDER permission, or UID of a currently bound location provider



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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