← Back to team overview

touch-packages team mailing list archive

[Bug 1448187] [NEW] location-service should return the correct error source

 

Public bug reported:

The Location of the user can fail for several reasons,
- User not allowing trust-store to give location access to an app
- GPS service being disabled by the user
- Random error

Upstream Qt PositionSource provides the sourceError property [1] that
allows apps to recognize this error type. At the moment ubuntu location-
service just returns AccessError for all purposes. Knowing the exact
type of error will immensely help apps recognize why it failed and keep
their user informed.

[1] http://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html
#sourceError-prop

** Affects: location-service (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to location-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1448187

Title:
  location-service should return the correct error source

Status in location-service package in Ubuntu:
  New

Bug description:
  The Location of the user can fail for several reasons,
  - User not allowing trust-store to give location access to an app
  - GPS service being disabled by the user
  - Random error

  Upstream Qt PositionSource provides the sourceError property [1] that
  allows apps to recognize this error type. At the moment ubuntu
  location-service just returns AccessError for all purposes. Knowing
  the exact type of error will immensely help apps recognize why it
  failed and keep their user informed.

  [1] http://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html
  #sourceError-prop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1448187/+subscriptions


Follow ups

References