Skip to content

Docs updates#420

Open
simonhamp wants to merge 10 commits into
mainfrom
docs/mobile-v4-core-apis
Open

Docs updates#420
simonhamp wants to merge 10 commits into
mainfrom
docs/mobile-v4-core-apis

Conversation

@simonhamp

Copy link
Copy Markdown
Member

No description provided.

shanerbaner82 and others added 10 commits July 8, 2026 21:53
These four APIs moved from standalone plugins into nativephp/mobile core.
Add SuperNative reference pages for each — documented from the actual core
source (the old plugin READMEs were stale) — remove the empty plugins/core
stubs from the sidebar, and 301-redirect their old URLs to the new pages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… bottom-bar

- Theming: "Appearance in PHP" — System::appearance()/isDarkMode(), the
  isDark()/isLight()/theme() helpers, and the AppearanceChanged event.
- Text: inline <text> runs and select-text/select-none selection.
- Layouts: NavBar::titleView()/logo() and keyboard-aware <native:bottom-bar>.
- Text Input: cross-link to the keyboard-aware bottom bar.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Upgrade Guide: new "Upgrading To 4.0 From 3.x" — remove the mobile-device/
  dialog/file/system plugins before upgrading; Vite dev server is now opt-in.
- Changelog: Breaking Changes for both.
- Commands/Development: document the --vite flag (Vite no longer auto-starts;
  pass --vite for JS/CSS HMR).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…e Composer conflict guard

- Add the text-selection classes to the "Supported Tailwind classes" table.
- Upgrade Guide: v4 declares a Composer conflict with the four ex-plugins, so
  the update hard-blocks until they're removed (clearer than "registers twice").

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Frame the strategic shift: the web view tied the UI to upstream stacks we
didn't own (Inertia 3 dropping axios, Livewire 4 emoji filenames breaking iOS
builds). SuperNative is a stack we own end to end — PHP to SwiftUI/Compose.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The breakage was our bundled PHP binaries initially failing to read the emoji
(🔥) filenames, not the iOS packager rejecting them.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Move Architecture to just below Getting Started (before The Basics)
- Move Device, Dialog, File and System from SuperNative into The Basics; place Dialog below Native UI
- Remove version-specific phrasing ("in v4", "as of v4", "v3.1 introduces") so the docs port cleanly to future versions
- Convert hard-coded /docs/mobile/3 and /docs/mobile/1 links to relative, version-portable paths

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Rename Concepts → Digging Deeper; move SuperNative page into Architecture
- Move Routing (was Navigation) & Layouts into The Basics; Events → native-component content
- Split deployment into a Publishing Your App section (Intro/Android/iOS)
- Remove Roadmap and Architecture Overview; refresh Getting Started intro & upgrade guide
- Add version-aware redirects (renamed_pages + routes) and tests

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants