← Back to team overview

ubuntu-phone team mailing list archive

Can I check if GPS is disabled for an app?

 

Hi!

I saw issues in uNav after OTA9 because the new GPS setting in battery
page is disabled and they didn't see it.

I would like to check if the GPS is disabled or not in the device,
then warning the user for review the settings.

I was searching about this and I think I can't do anything from QT
[1][2][3], because if the user has data, the geolocation will be
enabled.

Do you know if there is any way to know if the GPS is disabled?

Thanks in advance!
--
Sent using Dekko from my Ubuntu device

[1] http://paste.ubuntu.com/14887544/
[2] http://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html
[3] https://forum.qt.io/topic/49848/how-to-get-the-gps-on-off-status-on-the-device


Follow ups