Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.3.2
-
-
78aa8a9f931ec4f983747869f5de5c121d194dcc
Description
iOS8 introduced a new authorization scheme for Location data.
Before retrieving location data, CLLocationManager must request authorization.
There are 2 authorization schemes:
1. Always Authorization (background location updates)
CLLocationManager - requestAlwaysAuthorization
Info.plist must include:
NSLocationAlwaysUsageDescription
2. When in use Authorization
CLLocationManager - requestWhenInUseAuthorization
Info.plist must include:
NSLocationWhenInUseUsageDescription
Without having these methods executed, QtPositioning returns a SourceUnknown error.
Calling either of these methods will show the "Allow app to access location" popup on an iOS8 device.
Attachments
Issue Links
- is required for
-
QTBUG-41613 Issues to be fixed before 5.4.0 RC
-
- Closed
-
- relates to
-
QTBUG-76718 Separate the AlwaysInUse part of the CoreLocation plugin so that it is an optional one
-
- Open
-