Add location sharing plugin.

Summary

Simple plugin to pipe NMEA GPS messages to the connected device.

When enabled, and if location permission is granted, the plugin will wait for the 'start' command. As soon as the start command is received, it will requestLocationUpdates and pipe NMEA messages to the connected device.

As soon as the 'stop' command is received, location is no longer observed.

kdeconnect-kde: kdeconnect-kde!791 (closed)

This is my first MR here, please let me know how I can improve this.

  • This plugin requires Build.VERSION_CODES.N. Is there a standard way to hide this plugin when running on older systems?
  • Translations - do I just add them in a standard Android way?
  • This plugin does not need an actionName - any correct way to disable?

Test Plan

TBC

Edited by Daniels Šatcs

Merge request reports

Loading
Loading