Skip to content

docs(mobile/4): document webview php and fullscreen modes#437

Merged
simonhamp merged 1 commit into
mainfrom
docs/webview-php-fullscreen
Jul 22, 2026
Merged

docs(mobile/4): document webview php and fullscreen modes#437
simonhamp merged 1 commit into
mainfrom
docs/webview-php-fullscreen

Conversation

@simonhamp

Copy link
Copy Markdown
Member

Documents the two webview mode attributes that landed with the per-webview PHP runtimes (mobile-air #204 / mobile-ui #10):

  • PHP mode — enriched web view served by the app's own embedded Laravel runtime: src as an app route path, shared session, forced JS/DOM storage, and the dedicated per-webview PHP context lifecycle (booted on mount, stopped on unmount). Includes the window.Native injection-timing note (document start on iOS vs page finish on Android).
  • Fullscreen — the v3-default-webview presentation: fill + extend behind the safe areas, with guidance to render it as the screen's sole content for a true takeover.

Both are also added to the props list and the programmatic Webview element API. Page verified through Blade compile (the thing that has 500'd docs pages before).

🤖 Generated with Claude Code

- php: enriched mode served by the app's own embedded runtime — app
  route paths, shared session, forced JS/DOM storage, and the dedicated
  per-webview PHP context lifecycle (booted on mount, torn down on
  unmount). Includes the platform note on window.Native injection
  timing (document start on iOS, page finish on Android).
- fullscreen: v3-style presentation — fill plus safe-area extension,
  with the sole-content guidance for a true takeover.
- Both added to the props list and the programmatic Element API.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@simonhamp
simonhamp merged commit 3723993 into main Jul 22, 2026
2 checks passed
@simonhamp
simonhamp deleted the docs/webview-php-fullscreen branch July 22, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant