We have moved to a new Sailfish OS Forum. Please start new discussions there.
18

Per application based control over resources (eg. GPS,...)

asked 2013-12-27 09:20:43 +0300

irtu gravatar image

Instead of globally accept/deny (enable/disable) usage of certain resources, specifically GPS in my case, I would like to have per application based control over this. So instead of disabling GPS, and enabling it only when using maps/navigation application, I would grant access to GPS only to certain applications, perhaps also access to turning the GPS on when required. This should be done at OS level, application itself would not know if GPS has been disabled, or just denied access. Same idea could be applied to access to other resources as well (eg. Network use)

As an example, Settings->Apps would be good place to control this.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
5

answered 2013-12-28 17:17:11 +0300

zeenix gravatar image

Talking to a Jolla dev some months back, I got the impression that they are using Geoclue1. I'm the developer of Geoclue2 and one of the aims of this re-write is to allow exactly this. The geoclue2 part is actually already implemented for this but Jolla guys will have to implement an agent. Apart for that, they'll also have to either wait for me to, or help me implement GPS/wifi-geolocation.

edit flag offensive delete publish link more

Comments

Is there any update? Having Geoclue2 on Sailfish OS would be really great because I'm currently developing a navigation app with flatpak (because I need Qt 5.14) which requires Geoclue2 also on the Sailfish side in order to have working GPS.

Woidboy ( 2020-06-06 15:36:43 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2013-12-27 09:20:43 +0300

Seen: 132 times

Last updated: Dec 28 '13