android: add Tauri v2 shell with GPS tracking for cardio workouts
Wraps the web app in a Tauri Android shell that provides native GPS via the geolocation plugin. Includes foreground service for background tracking, live map display, GPS data storage in workout sessions, and route visualization in workout history.
This commit is contained in:
14
src-tauri/capabilities/remote.json
Normal file
14
src-tauri/capabilities/remote.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"identifier": "bocken-remote",
|
||||
"windows": ["main"],
|
||||
"remote": {
|
||||
"urls": ["https://bocken.org/*", "http://192.168.1.4:5173/*"]
|
||||
},
|
||||
"permissions": [
|
||||
"geolocation:allow-check-permissions",
|
||||
"geolocation:allow-request-permissions",
|
||||
"geolocation:allow-get-current-position",
|
||||
"geolocation:allow-watch-position",
|
||||
"geolocation:allow-clear-watch"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user