aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-android/README.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-27 11:47:35 +0100
committerChristophe Besson <cbesson@gmail.com>2026-10-27 11:47:35 +0100
commit101e8fbf1b277da74a3510435e28fd4bcaa6edae (patch)
tree460c1a062d53badf8301d9429507db5470dc28f5 /packages/meshbay-android/README.md
parent89358ec1e8323d2ce11b4e10e84d0389e806b8dc (diff)
downloadmeshbay-101e8fbf1b277da74a3510435e28fd4bcaa6edae.tar.gz
fix(android): keep the screen on while a video plays
The WebView has no Screen Wake Lock API, so the player's request did nothing. The bridge now supplies navigator.wakeLock over a native screen:keep-on channel (the WebView's keepScreenOn). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-android/README.md')
-rw-r--r--packages/meshbay-android/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/meshbay-android/README.md b/packages/meshbay-android/README.md
index d44b58c3..4070bbbb 100644
--- a/packages/meshbay-android/README.md
+++ b/packages/meshbay-android/README.md
@@ -27,6 +27,9 @@ freezes the page 60 s after the screen goes off. Where play services are
absent, the page is offered no cast at all. Music playing on the phone itself
holds the same service and the same visibility, for as long as it plays
(`playback:keep-alive`), so the next track still loads with the screen off.
+The WebView has no Screen Wake Lock API; the bridge supplies
+`navigator.wakeLock` over `screen:keep-on` (the WebView's `keepScreenOn`), so a
+film playing does not let the screen time out.
```bash
# needs JDK 17+ and an Android SDK (ANDROID_HOME, or sdk.dir in local.properties)