- applyBearing: use h, not h - rotOffset. The .rec-screen (map + panel) is CSS-rotated by rotOffset in landscape and setBearing adds another rotate on the map pane; subtracting rotOffset cancelled the screen rotation for the map only, gluing course to the portrait top edge while the panel turned. Using h lets the map turn with the screen -> course points to physical top. - Poll: guard the requestAnimationFrame yield with !document.hidden. rAF never fires while the screen is off, so awaiting it there hung the import loop and froze point import mid-walk (regression from the progressive-draw change). - recoverSession: import missing native points by the SET of existing timestamps instead of ts > maxDbTs. Sparse screen-gated points can have a late max ts, so the old check imported nothing and left the track full of gaps; also pass sensorData so bearing/accel/gyro are stored.
28 lines
706 B
TOML
28 lines
706 B
TOML
[package]
|
|
name = "baldav"
|
|
version = "0.1.366"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "baldav_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-sql = { version = "2", features = ["sqlite"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
|
|
|
lazy_static = "1"
|
|
ureq = "3"
|
|
base64 = "0.22"
|
|
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
btleplug = { version = "0.11", features = ["serde"] }
|
|
uuid = "1"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] }
|
|
tokio-stream = "0.1"
|