Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13107

cordova-plugin-geolocation WifiService Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • 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

    Description

      Task: get geolocation when phone is connected to wifi
      Issue: Geolocation does not work when phone is connected to wifi network (when using GPS or using tel. provider signal it 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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tapirek_dziki Dziki Tapirek

            Dates

              Created:
              Updated:

              Slack

                Issue deployment