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

No dialog appears to activate iOS location service

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.2
    • Fix Version/s: None
    • Component/s: Positioning
    • Labels:
      None
    • Environment:
      iOS 12
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      After create the position source (corelocation) with QGeoPositionSourceInfo and start the position updates, if the service location is not activated on the device then the dialog to activate it not appears and an error is emitted (QGeoPositionInfoSource::AccessError). The position is never retrieved even if I turn on the location service after.

      If I start the position updates with the location service activated then I receive the position correctly.

      Moreover if I turn off the location service manually after the updates start, then the dialog to reactivate it appears and the position are still received when the service is reactivated. 

        Attachments

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

          Activity

            People

            • Assignee:
              andysh Andy Shaw
              Reporter:
              benjamin.senegas Benjamin Senegas
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes