baldav/src-tauri
4aiman 5d042870e2 Android: fix OS back gesture for SPA modals/screens (drive JS history.back)
WryActivity's generated back handler calls WebView.goBack(), which does NOT
dispatch popstate for same-document history.pushState() entries — so the OS back
gesture never reached the app's popstate handler and couldn't dismiss modals
(new product, add-to-eaten, ЧЗ scanner) or navigate screens; only the on-screen
back arrow worked. WryActivity.kt is auto-regenerated each build, so override in
the app-owned MainActivity instead: set handleBackNavigation=false and register
our own OnBackPressedCallback that runs window.history.back() via evaluateJavascript,
which fires popstate. Verified on-device: swipe-back now closes modals and the ЧЗ
scanner. (adb `input keyevent BACK` does NOT go through OnBackPressedDispatcher on
Android 13+, so it can't be used to test this — only the real gesture does.)
2026-08-27 23:12:34 +03:00
..
capabilities GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
gen/android/app/src/main Android: fix OS back gesture for SPA modals/screens (drive JS history.back) 2026-08-27 23:12:34 +03:00
icons GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
src Chestny Znak scanner: DataMatrix -> National Catalog КБЖУ prefill 2026-08-27 03:27:15 +03:00
build.rs build: embed exact/fresh git hash (+ -dirty for uncommitted code) 2026-08-20 19:55:08 +03:00
Cargo.lock Recording map: navigation puck (position+direction), z-order panes, compass-only mini-compass 2026-08-24 23:06:26 +03:00
Cargo.toml build 427 2026-08-27 11:30:55 +03:00
tauri.conf.json build 427 2026-08-27 11:30:55 +03:00