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

Geolocation on Android devices return always TRUE

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated: