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
-
For Gerrit Dashboard: QTBUG-41827 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
96958,3 | iOS 8 - CLLocationManager authorization | 5.4 | qt/qtlocation | Status: MERGED | +2 | 0 |
243171,3 | CoreLocation: fix unconditional (previously) method calls | 5.12 | qt/qtlocation | Status: MERGED | +2 | 0 |