All checks were successful
CI / update (push) Successful in 3m43s
Use Android TYPE_STEP_DETECTOR sensor in LocationForegroundService to count steps in a 15s rolling window. Cadence (spm) is computed at each GPS point and stored alongside lat/lng/altitude/speed. Session detail page shows cadence chart when data is available. No additional permissions required — step detector is not a restricted sensor. Gracefully skipped on devices without the sensor.
18 lines
355 B
TOML
18 lines
355 B
TOML
[package]
|
|
name = "bocken"
|
|
version = "0.4.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "bocken_lib"
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-geolocation = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|