Open kachnitel opened 4 years ago
Tracking
POST /tracking {visibility, location, timestamp}
GET /tracking
Push updates to API every X sec
userId, location, timestamp, audience
Retrieve when tracking screen is open and refresh regularly while it is or when it comes to focus
Screen shows a map and toggles:
Map markers can be a small ProfilePicture
declare enum LocationAccuracy { Lowest = 1, Low = 2, Balanced = 3, High = 4, Highest = 5, BestForNavigation = 6 } declare enum LocationActivityType { Other = 1, AutomotiveNavigation = 2, **Fitness = 3,** OtherNavigation = 4, Airborne = 5 }
Huawei may need some background task tweaking
+2 !
Tracking
screen where user can toggle tracking on current rideImplementation
Options:
API
POST /tracking {visibility, location, timestamp}
GET /tracking
Push updates to API every X sec
userId, location, timestamp, audience
where audience is event id / friends / public / emergency?Retrieve when tracking screen is open and refresh regularly while it is or when it comes to focus
UI
Screen shows a map and toggles:
Show button to display emergency info (GPS)
Badged button with list of tracked users
Map markers can be a small ProfilePicture
ExpoLocation.Accuracy