Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116972

Qt Position requests authorization for location on MacOS every time app starts

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.15
    • Positioning
    • None
    • macOS

    Description

      It's seems that the Qt Position Core Location plugin on MacOs requests authorization to the user's location every time an application is run (meaning the user always needs to click OK in the dialog that appears).

      However, this doesn't need to be the case. as per this article:

      https://developer.apple.com/documentation/corelocation/requesting_authorization_to_use_location_services?language=objc

      Authorization can only be requested when the state is notDetermined. This would mean a user would only need to grant permission the first time an application is run.

      The check for current status, would probably need to be added somewhere around link QGeoPositionInfoSourceCL::enableLocationManager()

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            srcejon Jon Beniston
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes