- stopRecording: replace the dead _lastNativeCount backfill (the variable is never assigned → guard is always false → missed points were never saved) with a full timestamp-based re-import from the native points file, then recompute stats over the complete set. Fixes losing ~90% of a track when recording with the screen off — the JS import poll is frozen by the WebView while the screen is off, so only the native file had all points. - Poll: draw each imported point via a lightweight onImportPoint and yield a frame every ~20 points so the track visibly grows as points transfer on screen-wake catch-up (restores pre-batch behaviour, kept cheap). |
||
|---|---|---|
| .. | ||
| capabilities | ||
| gen/android/app/src/main | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||