From 101e8fbf1b277da74a3510435e28fd4bcaa6edae Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Tue, 27 Oct 2026 11:47:35 +0100 Subject: 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 --- packages/meshbay-android/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/meshbay-android/README.md') 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) -- cgit v1.2.3