feat(player): �� ���������� fullscreen-������� � �������� ���������� (APK/desktop) #34

Merged
min merged 1 commits from feat/player-native-app-no-fs-prompt-2026-06-15 into main 2026-06-15 19:25:06 +00:00
Owner

� Android-���������� (Capacitor, ����� RubloxAndroid � UA) � �������� ���� ����������� ����� � ��������� ������� ������ ����� ������� � ������������ fullscreen ������������ (� ������ ���� � ��� �� ���� �����).

� Android-���������� (Capacitor, ����� RubloxAndroid � UA) � �������� ���� ����������� ����� � ��������� ������� ������ ����� ������� � ������������ fullscreen ������������ (� ������ ���� � ��� �� ���� �����).
min added 1 commit 2026-06-15 19:15:03 +00:00
feat(player): не показывать fullscreen-оверлей в нативном приложении
All checks were successful
CI / Lint (pull_request) Successful in 56s
CI / Build (pull_request) Successful in 1m36s
CI / Secret scan (pull_request) Successful in 24s
CI / PR size check (pull_request) Successful in 7s
CI / Deploy to S1 + S2 (pull_request) Has been skipped
86620eee1c
В Android-приложении (Capacitor) и десктопе (Electron) WebView/окно уже
на весь экран — стартовый оверлей «Нажми чтобы играть» избыточен (в
браузере он нужен для user-gesture перед fullscreen, в нативе барьера нет).
Теперь в нативном приложении игра запускается сразу:
- IS_ANDROID_APP: детект по window.Capacitor + метке RubloxAndroid в UA;
- IS_NATIVE_APP = desktop || android;
- gameStarted инициализируется true в нативе → оверлей пропускается;
- handleGameStart/handleMobileStart не дёргают requestFullscreen в нативе.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
min merged commit 4fe86ee723 into main 2026-06-15 19:25:06 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rublox/player#34
No description provided.