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

Geolocation on Android devices return always TRUE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Environment:

      Android 6+

      Description

      Hello there.

      I'm using cordova-plugin-geolocation to retrieve device position in my app.
      I'm running into a problem with Android platform. Whenever I start the app for the first time I use getCurrentPosition() to get the current position, which should ask for permissions and prompt the dialog to the user. The problem is that I always get PERMISSION_GRANTED, even if the app is launched for the first time.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lnicoletti Luca
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: