Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.9
-
None
-
-
3
-
2e26fe2c63 (qt/qtpositioning/dev) 2e26fe2c63 (qt/tqtc-qtpositioning/dev) 03cfe5e93c (qt/qtpositioning/6.4) a593ecc3fa (qt/qtpositioning/6.3) 03cfe5e93c (qt/tqtc-qtpositioning/6.4) c7921b9e0a (qt/tqtc-qtpositioning/6.2) 5338850830 (qt/tqtc-qtlocation/5.15)
-
Team A Foundation Sprint 59
Description
While updating an app from Qt 5.12 to 5.15 and debugging location permission dialogs appearing before the app being visible, I found QTBUG-81689.
In this change, lastKnownPosition() was changed to always ask for permissions on Android which is wrong in my opinion. The CoreLocation implementation of this function just returns the last known position without asking for permission as the documentation describes it.
The QML element PositionSource on Android now asks for permissions when it is being created since componentCompleted() inserts the last known position. This makes its "active" parameter completely useless since there is no way to control when the permission dialog should appear.
Attachments
Issue Links
- resulted in
-
QTBUG-105558 GeoFlickr example does not ask for permissions on Android
-
- Closed
-
- mentioned in
-
Page Loading...