[docs] KeepHerSafeApps: Round trip on the tablet, the page between Android's bars, review, gaps closed, lessons
This commit is contained in:
@@ -124,3 +124,17 @@ a permission a library adds.
|
||||
**How to apply it.** Check permissions, backup flags and WebView switches on the APK and on the
|
||||
installed package, and name each allowed exception precisely (this package's own receiver guard,
|
||||
not any app's).
|
||||
|
||||
## Tauri's Android activity draws under the system bars
|
||||
|
||||
**What happened.** The first screenshot of the Android app on the tablet (2026-11-17) showed the clock
|
||||
over the title and the navigation bar over *Bring her back from a file*. Tauri's generated
|
||||
`MainActivity` calls `enableEdgeToEdge()`, and Android WebView does not reliably report the bars to
|
||||
the page as `env(safe-area-inset-*)` (Culina found the same on an emulator).
|
||||
|
||||
**Why it bit.** Every test before it read the page, not the screen: the button was there, enabled and
|
||||
clickable by script, and hidden from a finger.
|
||||
|
||||
**How to apply it.** Look at a screenshot of every new platform before calling it done. Keep the page
|
||||
between the bars in the activity (padding from `WindowInsetsCompat`), paint the bars with the page's
|
||||
own background, and carry the activity in `apps/rosea-tauri/android/java/` because `gen/` is regenerated.
|
||||
|
||||
Reference in New Issue
Block a user