Skip to content

Require nativephp/mobile-ui ^0.6 and list it in boost.json - #12

Merged
simonhamp merged 2 commits into
mainfrom
chore/mobile-ui-0.6
Sep 30, 2026
Merged

simonhamp merged 2 commits into
mainfrom
chore/mobile-ui-0.6

Conversation

@simonhamp

@simonhamp simonhamp commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Bumps the mobile-ui constraint from ^0.3 to ^0.6.

laravel new app --using=nativephp/mobile-starter runs composer create-project with --stability=dev, so new apps are built from main rather than a tag. On 0.x a caret pins the minor, so every new app was getting mobile-ui 0.3.x even though 0.6.0 is out.

With ^0.6 a fresh install resolves nativephp/mobile-ui 0.6.0 (with nativephp/mobile 4.5.2). The repo doesn't track a composer.lock, so there's no lock change.

The welcome screen only uses basic elements (column, row, text, image, icon, divider), none of which changed between 0.3 and 0.6, so the view needed nothing. The published config/native-ui.php still matches 0.6's keys. Its differences from the package default are the starter's own colors and fonts, which I left alone. I did fix one comment that pointed at the old Nativephp\NativeUi\Theme class name; it's Native\Mobile\UI\Theme now.

The test suite passes (8 tests, 81 assertions) and php artisan native:validate passes. It gives one warning, "Could not determine view name from render()" on Home.php, but that comes from nativephp/mobile's analyzer and isn't related to this change. I didn't run it on a device.

It also fixes boost.json, which still listed the old nativephp/native-ui package name. boost:install (which laravel new runs without prompting) only installs guidelines and skills for packages listed there, so mobile-ui's never reached new apps.

🤖 Generated with Claude Code

New apps are created from main, so the ^0.3 constraint was installing
mobile-ui 0.3.x even though 0.6 is out. Also fix the Theme class name in
the published config comment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
boost.json still named the old nativephp/native-ui package, so boost:install
(which laravel new runs non-interactively) skipped mobile-ui's guidelines and
skills.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@simonhamp simonhamp changed the title Require nativephp/mobile-ui ^0.6 Require nativephp/mobile-ui ^0.6 and list it in boost.json Sep 30, 2026
@simonhamp
simonhamp marked this pull request as ready for review September 30, 2026 12:01
@simonhamp
simonhamp merged commit 7ca6a8c into main Sep 30, 2026
2 checks passed
@simonhamp
simonhamp deleted the chore/mobile-ui-0.6 branch September 30, 2026 12:02
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