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(orinit --with push-notifications) adds push through Firebase on Android and APNs on iOS,mobile.push.register()on the phone, and aPushnotification channel for Laravel. laravel-mobile dev --tunnelreaches the app at a public HTTPS address, for a phone on another network. It usescloudflaredor 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>addstabs(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, orsqlite. It keeps your comments inmobile.toml, never overwrites your files, and runssync.init --with tabs,sqliteadds features during setup, and in a terminalinitshows 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 desktopruns the app in a window, andbuild desktopwrites installers for this computer, on macOS, Windows, and Linux.submit desktopexplains that desktop apps aren’t uploaded to a store. See Running Your App and Building for Desktop.- On Linux,
build desktopalso lists thePKGBUILDthat installs the app on Arch withmakepkg -si.app.description,app.category, andapp.licensedescribe, 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 throughxdg-openon 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.htmlinstead of the system’s error page, and checks the server every two seconds, returning as soon as it answers. Put your own page atresources/mobile/offline.html. [ios.info_plist]sets any extraInfo.plistkey, such asLSApplicationQueriesSchemes = ["comgooglemaps"]. Keys thatmobile.tomlalready sets are rejected with the key to use instead, such asapp.buildforCFBundleVersion.[android.meta_data]writes<meta-data>entries inside<application>, andsynckeeps 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 ofmobile.toml. The value is written only into the generated Android manifest, which isn’t committed. A missing variable stopssync,dev android, andbuild android.[ios.info_plist]doesn’t accept${...}, becauseInfo.ios.plistis committed.- The
notificationplugin is now described as local-only. For push through APNs and FCM, usepush-notifications. - v0.1 now includes a free release path from your own machine:
credentialsandsubmit, both onmainfor 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 withnpm install @laravel-rust-mobile/core. See JavaScript Adapter.
Unreleased 0.1.2
Planned, not yet published:
-
credentials android createwrites an upload keystore, with a random password, to~/.laravel-mobile/keystores. It refuses to replace an existing key. -
submit ios|androiduploads the latest release build to TestFlight or a Google Play track.submit androidreleases onrelease.play_track, or on--track, and a first upload stays a draft. -
doctor --releasechecks what a store release needs, including the Google Play target API level, the service account and the App Store Connect key. -
build ios|androidrefuses to start whiledevruns the app on that platform. If a killeddevleft its processes running,buildsays so and names the command that stops them. A newdevstops those processes before it checks its ports. -
With the network mode,
devsays 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,
synckeeps 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.nameupdates the Android launcher label. -
dev androidstops before it builds when a release build, or a build with a higher build number, is installed on the phone. It prints theadb uninstallcommand and warns that this deletes the app’s data. -
mobile.biometrics.authenticatetakes atitleoption, which titles the Android prompt and defaults to “Verify it’s you”. -
@laravel-rust-mobile/coreaddsstorage,clipboard,location,scannerandnetwork. A call to a plugin you haven’t enabled names the[plugins]line to add. -
app.namemay contain/ \ : * ? " < > |. The build drops those characters from the product name, and the home screen still shows the full name. -
initcreatescrates/sharedempty, instead of with a stub. -
initaddscrates/sharedto[workspace] membersand no longer declaressharedas a dependency, so Cargo doesn’t warn about an unused dependency. Your server opts in withshared = { path = "crates/shared" }. -
doctorsays when Rust is installed in~/.cargo/binbut that folder isn’t onPATH, 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
devoutput that says how to keep it in the app withserver.allowed_hosts. -
mobile.scanner.scan()asks for camera access first, and resolvesnullif the user refuses. -
app.idsegments use only letters and digits, because Android rejects-and Tauri rejects_.config checksuggests the ID with those characters removed, andinitderives 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. -
devruns the app’s otherdev:*scripts, such as a scheduler, alongside its own servers. -
syncadds'**/apps/mobile/**'to the Vite config’sserver.watch.ignoredlist, and to Vite+’sfmtandlintignorePatterns. That keeps Vite’s watcher out of the native build tree, and keeps the formatter and linter from rewriting the generated files. -
synclets your server’s pages call the commands you register withtauri::generate_handler!inapps/mobile/src. It writespermissions/app-commands.tomland grants it incapabilities/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]]inmobile.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.backgroundandsplash.dark_backgroundalso 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_refreshin[[rules]]. -
On iOS, every request from the app has a user agent that ends in
LaravelMobile/<app.version> (ios). -
doctorchecks forllvm-toolswhen Xcode 27 or later is installed, because Xcode 27 can’t link the app’s Swift plugins without it. -
[android] target_sdkandcompile_sdkset the Android API levels the app targets and compiles against. Without them, the app uses Tauri’s. Google Play requirestarget_sdk36 or higher for new uploads, anddoctor --releasesays so with the fix. -
dev androidstops at once when several Android devices are connected without--device. It lists them as “name (serial)” and suggests--device <serial>. An unknown--devicefails the same way. -
devstarts a local Reverb server whenBROADCAST_CONNECTIONisreverbandREVERB_HOSTis local, and points Echo at it. A remoteREVERB_HOSTis left alone. Over USB,REVERB_PORTis forwarded toREVERB_SERVER_PORT. If laravel-rust lacks thereverbfeature,devwarns and doesn’t start Reverb. -
In network mode,
devlists the ports to allow through your firewall when pages time out on a phone. -
Apps that use
[deep_links]build again. The app template includesserde_json, andsyncadds it to older apps. -
doctorfails the rustc check when therustcon yourPATHisn’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.
initadds@laravel-rust-mobile/coretopackage.jsondependencies and@tauri-apps/clito dev dependencies, and installs them with npm, pnpm, Yarn, or Bun, so there’s nocargo install tauri-cli.--no-installskips the install.dev,build, anddoctoruse the project’s copy, and fall back to a globalcargo tauri.doctorchecks the Tauri CLI in the Project group, anddoctor --fixruns 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 --deviceaccepts 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.cameraset,syncdeclares Android’s camera intents, so a file input withcaptureopens the camera on Android 11 and later. devandbuildrecreate an Android project generated by a different Tauri CLI, so Gradle no longer calls acargo taurithat isn’t installed.devshows the Tauri command it starts.doctorcounts 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.buildwarns 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 iosanddev androidkeep sessions and CSRF cookies, so login, Inertia forms and multipart uploads work on a device.dev androidreaches a phone or emulator connected over USB withadb reverse, and loads the app from127.0.0.1, which is a secure context, sogetUserMediaworks there. Wi-Fi that isolates devices no longer blocks it.--hostkeeps the network path.dev iosloads your pages from your network address over plainhttp://, sogetUserMediais unavailable there. Release builds are unaffected.doctorshows the size oftarget/mobile-build, warns above 10 GB, anddoctor --fixempties it.syncadds'**/apps/mobile/**'to theserver.watch.ignoredlist in your Vite config, which keeps Vite’s watcher out of the native build tree.initanddevrunsynctoo.
laravel-mobile-cli 0.1.0
- Published
laravel-mobile-cli0.1.0 andlaravel-mobile-config0.1.0 to crates.io. Install the CLI withcargo install laravel-mobile-cli.
Before 0.1.0
- M3: the
@laravel-rust-mobile/coreJavaScript adapter, with haptics, biometrics, share, notifications, andinvoke(). See JavaScript Adapter. doctorfinds the Android SDK in Android Studio’s default location whenANDROID_HOMEisn’t set.initdeclaressharedin[workspace.dependencies]; your server opts in withshared.workspace = true.- New guides: Running Your App and Coming From Expo.
laravel-mobile build ios|androidbuilds on your machine, with--simulator,--debug,--apk,--aaband--dry-run. New guide: Building Your App.ios.minimum_versionnow defaults to15.0.- Console output follows Laravel Rust’s style:
◆success,◇step,●info,▲warning,■error. initadds abuilding-mobile-appsagent skill to your app.- M1: the
laravel-mobileCLI withinit,doctor,dev,syncandconfig, and themobile.tomlschema. - The CLI and configuration reference pages are generated from the CLI’s help and JSON Schema.
- Documentation site launched.