GPS Support: Implementation of geoclue2 agent
Currently Plasma Mobile shell presents the Location button but it does not do anything at all. We need to implement the geoclue location agent and manager so that toggle actually works and we can ask user to allow/deny location request.
-
Implement geoclue2 agent -
Get our new agent added in whitelist at https://gitlab.freedesktop.org/geoclue/geoclue/-/blob/master/data/geoclue.conf.in#L13 -
https://gitlab.freedesktop.org/geoclue/geoclue/-/blob/master/demo/geoclue-demo-agent.desktop.in.in#L7 modify it so that geoclue does not start demo agent in Plasma Session. -
Talk with geoclue2 manager API to show active indicator in panel when location service is in use
After that toggle in top panel would talk with agent or configure it so that it allow/deny requests when toggle is turned on/off.
CC: @rinigus, am I missing something here?
Edited by Aleix Pol Gonzalez