NativePHP for Mobile v4 is here — build real native UIs from Blade with SuperNative
Blog

NativePHP Mobile 4.3.0

NativePHP Mobile 4.3.0#

NativePHP for Mobile 4.3.0 is out. This is a shell-and-chrome release: the bundle is a little cleaner, watch mode seeds the Vite hot file into the simulator, and a couple of insets that were painting in the wrong place are fixed.

Upgrade with:

Copied!
composer update nativephp/mobile
php artisan native:install
php artisan native:run

native:install has to run after the composer update and before native:run so the native shell picks up the new package.

Bundle and watch#

  • The bundle no longer registers view paths it never ships.
  • Zip entry names are decoded as UTF-8 when extracting the app bundle, so emoji-named files survive the copy.
  • native:watch seeds the Vite hot file into the simulator container on start, so HMR can find the app.

Chrome that stays out of the system UI#

  • On iOS, UI.SetBackground no longer paints the keyboard's helper windows.
  • On Android, the bottom bar no longer draws under the system navigation bar.

Full changelog#

  • Stop registering view paths the bundle never ships (#346)
  • Decode zip entry names as UTF-8 when extracting the app bundle (#392)
  • Seed the Vite hot file into the simulator container on watch start (#391)
  • Don't paint the keyboard's helper windows in UI.SetBackground on iOS (#393)
  • Android bottom-bar no longer draws under the system navigation bar (#395)

Full changelog

Thanks to Willem Leuverink, Eser Deniz, and Shane Rosenthal.