Skip to content

Changelog

Releases of Lairport and notable documentation changes.

Unreleased

  • Every feature has a release stage, beta or alpha, on the status page. The CLI is beta on Linux with the Android SDK, and alpha on macOS and Windows. Desktop, iOS, store submission, and the biometric login and secure storage plugins are alpha.
  • New guide: Troubleshooting.
  • New guide: Push Notifications. laravel-mobile install push-notifications (or init --with push-notifications) adds push through Firebase on Android and APNs on iOS, mobile.push.register() on the phone, and a Push notification channel for Laravel.
  • laravel-mobile dev --tunnel reaches the app at a public HTTPS address, for a phone on another network. It uses cloudflared or Expose, whichever is installed, or the one you name. See Running Your App.
  • After init, a terminal asks whether to have your coding agent review the app for mobile features, and prints the prompt to paste.
  • laravel-mobile install <feature> adds tabs (a Home and a Settings tab), offline-page (your own copy of the offline page, to edit), or a paid feature: biometric-login, secure-storage, offline, or sqlite. It keeps your comments in mobile.toml, never overwrites your files, and runs sync. init --with tabs,sqlite adds features during setup, and in a terminal init shows them as a checklist.
  • A tapped Inertia link that can’t reach the server goes to the offline page, and returns once the server answers. A form post stays on the page, so typed input is kept.
  • On Android, the Back button closes an open <dialog> on the page first. Back from the offline page goes to the page before the one that failed, instead of showing the offline page again, and Back from the first page sends the app to the background.
  • dev desktop runs the app in a window, and build desktop writes installers for this computer, on macOS, Windows, and Linux. submit desktop explains that desktop apps aren’t uploaded to a store. See Running Your App and Building for Desktop.
  • On Linux, build desktop also lists the PKGBUILD that installs the app on Arch with makepkg -si. app.description, app.category, and app.license describe, file, and license the app in Linux menus and package managers, and its icons land in the sizes they look for. Linux no longer needs libxdo, and deep links reach the app through xdg-open on desktops other than GNOME and KDE.
  • A bundled offline page. When a page of the app can’t reach its server within 5 seconds, the app shows offline.html instead of the system’s error page, and checks the server every two seconds, returning as soon as it answers. Put your own page at resources/mobile/offline.html.
  • [ios.info_plist] sets any extra Info.plist key, such as LSApplicationQueriesSchemes = ["comgooglemaps"]. Keys that mobile.toml already sets are rejected with the key to use instead, such as app.build for CFBundleVersion.
  • [android.meta_data] writes <meta-data> entries inside <application>, and sync keeps them. A value that starts with @, such as @xml/config, refers to a resource.
  • ${NAME} in an [android.meta_data] value reads the environment first, then .env, so API keys stay out of mobile.toml. The value is written only into the generated Android manifest, which isn’t committed. A missing variable stops sync, dev android, and build android. [ios.info_plist] doesn’t accept ${...}, because Info.ios.plist is committed.
  • The notification plugin is now described as local-only. For push through APNs and FCM, use push-notifications.
  • v0.1 now includes a free release path from your own machine: credentials and submit, both on main for 0.1.2.

@laravel-rust-mobile/core 0.1.0

  • Published the JavaScript adapter to npm as @laravel-rust-mobile/core, formerly @laravel-rust/mobile. Install it with npm install @laravel-rust-mobile/core. See JavaScript Adapter.

Unreleased 0.1.2

Planned, not yet published:

  • credentials android create writes an upload keystore, with a random password, to ~/.laravel-mobile/keystores. It refuses to replace an existing key.

  • submit ios|android uploads the latest release build to TestFlight or a Google Play track. submit android releases on release.play_track, or on --track, and a first upload stays a draft.

  • doctor --release checks what a store release needs, including the Google Play target API level, the service account and the App Store Connect key.

  • build ios|android refuses to start while dev runs the app on that platform. If a killed dev left its processes running, build says so and names the command that stops them. A new dev stops those processes before it checks its ports.

  • With the network mode, dev says that camera and microphone streams are off, and that a USB-connected Android phone turns them on.

  • Deep links open on a cold start, after the first page loads.

  • On Android, sync keeps the WebView’s cookies and storage, which hold the login session, out of Auto Backup and device transfers.

  • Text rescales live when the user changes the system font size, without reloading the page.

  • Renaming app.name updates the Android launcher label.

  • dev android stops before it builds when a release build, or a build with a higher build number, is installed on the phone. It prints the adb uninstall command and warns that this deletes the app’s data.

  • mobile.biometrics.authenticate takes a title option, which titles the Android prompt and defaults to “Verify it’s you”.

  • @laravel-rust-mobile/core adds storage, clipboard, location, scanner and network. A call to a plugin you haven’t enabled names the [plugins] line to add.

  • app.name may contain / \ : * ? " < > |. The build drops those characters from the product name, and the home screen still shows the full name.

  • init creates crates/shared empty, instead of with a stub.

  • init adds crates/shared to [workspace] members and no longer declares shared as a dependency, so Cargo doesn’t warn about an unused dependency. Your server opts in with shared = { path = "crates/shared" }.

  • doctor says when Rust is installed in ~/.cargo/bin but that folder isn’t on PATH, and it tells you to run . "$HOME/.cargo/env". Rust’s environment is described in requirements.

  • On Android, every request from the app has a user agent that ends in LaravelMobile/<app.version> (android).

  • In debug builds, a link that opens in the browser logs a warning in the dev output that says how to keep it in the app with server.allowed_hosts.

  • mobile.scanner.scan() asks for camera access first, and resolves null if the user refuses.

  • app.id segments use only letters and digits, because Android rejects - and Tauri rejects _. config check suggests the ID with those characters removed, and init derives IDs that pass.

  • dev.host = "auto" picks a private address on a Wi-Fi or Ethernet interface, ahead of container bridges, VPNs and link-local addresses. The banner names the interface it chose.

  • dev runs the app’s other dev:* scripts, such as a scheduler, alongside its own servers.

  • sync adds '**/apps/mobile/**' to the Vite config’s server.watch.ignored list, and to Vite+’s fmt and lint ignorePatterns. That keeps Vite’s watcher out of the native build tree, and keeps the formatter and linter from rewriting the generated files.

  • sync lets your server’s pages call the commands you register with tauri::generate_handler! in apps/mobile/src. It writes permissions/app-commands.toml and grants it in capabilities/mobile.json. Without it, Tauri refuses those calls.

  • On Android, the app saves the WebView’s cookies when it pauses, so a fresh login survives the app being killed right after.

  • A native tab bar from [[tabs]] in mobile.toml, on iOS and Android. It shows only on pages under a tab’s path, so it hides on the login page. Tapping the current tab reloads it. On Android it hides while the keyboard is open.

  • splash.background and splash.dark_background also color the tab bar and the strips behind the status and navigation bars on Android.

  • Pull to refresh on iOS and Android, set per page with pull_to_refresh in [[rules]].

  • On iOS, every request from the app has a user agent that ends in LaravelMobile/<app.version> (ios).

  • doctor checks for llvm-tools when Xcode 27 or later is installed, because Xcode 27 can’t link the app’s Swift plugins without it.

  • [android] target_sdk and compile_sdk set the Android API levels the app targets and compiles against. Without them, the app uses Tauri’s. Google Play requires target_sdk 36 or higher for new uploads, and doctor --release says so with the fix.

  • dev android stops at once when several Android devices are connected without --device. It lists them as “name (serial)” and suggests --device <serial>. An unknown --device fails the same way.

  • dev starts a local Reverb server when BROADCAST_CONNECTION is reverb and REVERB_HOST is local, and points Echo at it. A remote REVERB_HOST is left alone. Over USB, REVERB_PORT is forwarded to REVERB_SERVER_PORT. If laravel-rust lacks the reverb feature, dev warns and doesn’t start Reverb.

  • In network mode, dev lists the ports to allow through your firewall when pages time out on a phone.

  • Apps that use [deep_links] build again. The app template includes serde_json, and sync adds it to older apps.

  • doctor fails the rustc check when the rustc on your PATH isn’t a rustup toolchain, such as Arch’s /usr/bin/rustc, because it has no phone targets and breaks Android builds with “can’t find crate for std”.

laravel-mobile-cli 0.1.1

Released on crates.io, together with laravel-mobile-config 0.1.1.

  • init adds @laravel-rust-mobile/core to package.json dependencies and @tauri-apps/cli to dev dependencies, and installs them with npm, pnpm, Yarn, or Bun, so there’s no cargo install tauri-cli. --no-install skips the install. dev, build, and doctor use the project’s copy, and fall back to a global cargo tauri.
  • doctor checks the Tauri CLI in the Project group, and doctor --fix runs each distinct fix once, from the project root.
  • build --release, --build-number, Android upload-key signing, and the [release] table.
  • Android pages stay below the status bar and above the keyboard.
  • dev android --device accepts an adb serial as well as a device name.
  • Tauri runs with its own Cargo build directory, target/mobile-build, so two apps on one machine no longer break each other’s Android builds.
  • With permissions.camera set, sync declares Android’s camera intents, so a file input with capture opens the camera on Android 11 and later.
  • dev and build recreate an Android project generated by a different Tauri CLI, so Gradle no longer calls a cargo tauri that isn’t installed.
  • dev shows the Tauri command it starts.
  • doctor counts your Android emulators, and warns when there are none, or when they’re under $XDG_CONFIG_HOME/.android/avd, where the emulator doesn’t look.
  • build warns when your upload key’s properties file is readable by other users.

Known issue: with two or more Android devices connected and no --device, dev android loops on Tauri’s device prompt, writes a very large log, and ignores Ctrl+C. Pass --device, or disconnect the extra device, until 0.1.2.

  • dev ios and dev android keep sessions and CSRF cookies, so login, Inertia forms and multipart uploads work on a device.
  • dev android reaches a phone or emulator connected over USB with adb reverse, and loads the app from 127.0.0.1, which is a secure context, so getUserMedia works there. Wi-Fi that isolates devices no longer blocks it. --host keeps the network path.
  • dev ios loads your pages from your network address over plain http://, so getUserMedia is unavailable there. Release builds are unaffected.
  • doctor shows the size of target/mobile-build, warns above 10 GB, and doctor --fix empties it.
  • sync adds '**/apps/mobile/**' to the server.watch.ignored list in your Vite config, which keeps Vite’s watcher out of the native build tree. init and dev run sync too.

laravel-mobile-cli 0.1.0

  • Published laravel-mobile-cli 0.1.0 and laravel-mobile-config 0.1.0 to crates.io. Install the CLI with cargo install laravel-mobile-cli.

Before 0.1.0

  • M3: the @laravel-rust-mobile/core JavaScript adapter, with haptics, biometrics, share, notifications, and invoke(). See JavaScript Adapter.
  • doctor finds the Android SDK in Android Studio’s default location when ANDROID_HOME isn’t set.
  • init declares shared in [workspace.dependencies]; your server opts in with shared.workspace = true.
  • New guides: Running Your App and Coming From Expo.
  • laravel-mobile build ios|android builds on your machine, with --simulator, --debug, --apk, --aab and --dry-run. New guide: Building Your App.
  • ios.minimum_version now defaults to 15.0.
  • Console output follows Laravel Rust’s style: ◆ success, ◇ step, ● info, ▲ warning, ■ error.
  • init adds a building-mobile-apps agent skill to your app.
  • M1: the laravel-mobile CLI with init, doctor, dev, sync and config, and the mobile.toml schema.
  • The CLI and configuration reference pages are generated from the CLI’s help and JSON Schema.
  • Documentation site launched.

Type to search…

↑↓ navigate↵ selectEsc close