Repository navigation
feat(mobile): support immersive full screen - #1141
Merged
Merged
Conversation
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 03:29
9ee1658 to
5a53c6e
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 05:10
5a53c6e to
a34b024
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 05:52
a34b024 to
c7e0ffd
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 05:59
c7e0ffd to
e3c6fa5
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 06:30
e3c6fa5 to
90d3648
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 12:08
90d3648 to
928c3d8
Compare
Collaborator
Author
|
Reviewed.
|
houko
enabled auto-merge (rebase)
November 21, 2026 12:10
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 17:58
ab41bbf to
34fecbd
Compare
Collaborator
Author
|
Reviewed. Rebased onto main again; main had changed the Android Java runtime (gamepads, services), so classes.dex/classes.jar were rebuilt with build.sh on top of it (the rebuilt dex has both the system-bars test command and main's Gamepads classes) and go vet passes for the touched packages. The earlier android failure (TestPostsRunOnTheAppGraph: test host did not start within 5m) was an emulator launch timeout unrelated to this change. |
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 18:31
34fecbd to
125c105
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 18:42
125c105 to
d8c77f6
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
3 times, most recently
from
November 21, 2026 19:25
512bd7e to
51ca80b
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 19:32
51ca80b to
02939f9
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 19:58
02939f9 to
75864cb
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 21, 2026 20:32
75864cb to
60885ff
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
4 times, most recently
from
November 22, 2026 05:19
d616b28 to
1ce43de
Compare
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 22, 2026 08:49
1ce43de to
fc31a9a
Compare
houko
added this pull request to the merge queue
Nov 22, 2026
houko
force-pushed
the
feat/mobile-immersive-1124
branch
from
November 22, 2026 14:51
fc31a9a to
7f7604d
Compare
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
mobile.Immersive(cx, true)requests immersive full screen for the window. A page or dialog can useStatusBar.Immersiveto request or override it while shown. TSX pages, dialogs andnsgo.yamluse the same layered setting.Android hides both system bars and allows an edge swipe to show them briefly. iOS hides the status bar and asks UIKit to auto-hide the home indicator. Both platforms report the native safe-area insets, including any display cutout.
Refs #1124. The roadmap tracks Android API 28–29, physical iPhone and HarmonyOS follow-up.
Verification on
512bd7ea1select-tabcommand. A separate run ofinternal/platform/android/runtime/build.shproduced byte-identicalclasses.dexandclasses.jarfor the current PR head.go tool nsgo check -target android_arm64,ios,ios_simulator,tvos -jobs 2passed. The focused status-bar layering, permissions, nsgotest and TSX policy tests passed, along with the mobile, TSX bundler and skill tests. Workflow lint passed.TestImmersiveAndroidSystemBarspassed on a Pixel 3 XL running Android 12. A separate installed app confirmed both bars were visible normally, hid in immersive mode, appeared after a top-edge swipe, hid again at the transient timeout, and returned after immersive mode ended. Its reported safe area retained a 48.86 dp top cutout, while the bottom inset changed from 48 dp to 0 dp and back to 48 dp.TestImmersiveIOSSystemBarspassed on an iPhone 17 simulator running iOS 27.0. It verified UIKit status-bar visibility, the controller’s home-indicator auto-hide preference, and equality between the reported and native safe area in both modes. The physical iPhone’s indicator visibility and gesture behavior still need device verification.