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

Geolocation on Android devices return always TRUE

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment