diff options
| author | Adam Soltys <[email protected]> | 2026-10-13 06:28:40 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-13 06:28:40 +0000 |
| commit | bcf5f54c928dcc8e1893fe1227b9d8930f2744df (patch) | |
| tree | f53b4533e305318173a7127834827fb480f5c4ef /android/app/src/twa/AndroidManifest.xml | |
| parent | 4196c6ae2d1cd9bf10e2612140abc4124993e724 (diff) | |
| download | coinosv3-bcf5f54c928dcc8e1893fe1227b9d8930f2744df.tar.gz coinosv3-bcf5f54c928dcc8e1893fe1227b9d8930f2744df.zip | |
Android 1.13 (code 14): the app runs immersive. Adam doesn't want Chrome's "v3.coinos.io – To exit full screen, drag from the top and touch the back button", which Chrome shows whenever a page enters its full screen and a page can't turn off. The TWA now launches in sticky-immersive display mode (android-browser-helper's DISPLAY_MODE): the status and navigation bars are hidden, and a swipe in from an edge shows them for a moment. The page — in display-mode fullscreen, which installedApp() counts — fills the screen with the pager without ever asking for the browser's full screen. A Custom Tab's window is the browser's, so the page can't switch this on and off: it's the whole app. Thread clips and YouTube still ask for the browser's full screen, and so still get the notice. 1.12 (code 13) was published without its APK committed here; this sits above it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KPw21NEpWeTGu6swVASmBt
Diffstat (limited to 'android/app/src/twa/AndroidManifest.xml')
| -rw-r--r-- | android/app/src/twa/AndroidManifest.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/app/src/twa/AndroidManifest.xml b/android/app/src/twa/AndroidManifest.xml index 5e840ef..0a6c3bb 100644 --- a/android/app/src/twa/AndroidManifest.xml +++ b/android/app/src/twa/AndroidManifest.xml @@ -20,6 +20,16 @@ white. Light follows the page background, dark the PWA's theme_color, so the bar icons keep their contrast either way. The navigation bar is left to the browser (LauncherActivity). --> + <!-- Sticky immersive: the status and navigation bars are hidden, and a + swipe in from an edge shows them for a moment. The page then never + needs the browser's own full screen — whose "To exit full screen, + drag from the top…" notice Chrome shows every time a page enters + it, and a page can't turn off — to fill the screen with a clip. + (A Custom Tab's window is the browser's: the page can't switch + this on and off itself, so it's the whole app.) --> + <meta-data + android:name="android.support.customtabs.trusted.DISPLAY_MODE" + android:value="sticky-immersive" /> <meta-data android:name="android.support.customtabs.trusted.STATUS_BAR_COLOR" android:resource="@color/statusBarColor" /> |
