-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
This new feature should allow someone to receive updates about the location continuously. So if you want to keep track of a moving object, you don't have to send "get location" again and again. Instead, you may send "live location every 10min" once and get and sms back every 10min, which includes the location of the remote device.
Use cases:
- In general, tracking of moving objects in areas with bad internet connection.
- Mountaineering: Mountain climbers or mountain hikers often want to share their live location with another person, so that this person knows where to search in emergency. Note that internet connection is mostly bad in mountain regions.
Implementation notes:
- Extension of the existing Location Module
- On Command for starting the location tracking
- For simplicity, tracking from different devices in parallel should not be supported. Subsequent tracking request should just fail with an error message.
- Location tracking has to be cancellable on the tracked device (button at the notification)
- Show foreground notification similar to play sound. https://github.com/android/location-samples/blob/main/LocationUpdatesForegroundService/app/src/main/java/com/google/android/gms/location/sample/locationupdatesforegroundservice/LocationUpdatesService.java
intika