Tauri mobile is here! The first alpha release 2.0.0-alpha.0 has been published.
Make sure to update both NPM and Cargo dependencies to the 2.0.0-alpha.0 release. You can update the NPM dependencies with:
- Yarn Classic
- Yarn Berry
npm install @tauri-apps/cli@next @tauri-apps/api@next
yarn upgrade @tauri-apps/cli@next @tauri-apps/api@next
yarn up @tauri-apps/cli@next @tauri-apps/api@next
pnpm update @tauri-apps/cli@next @tauri-apps/api@next
To update the Cargo dependencies, run the following in the
cargo add email@example.com
cargo add firstname.lastname@example.org --build
cargo install tauri-cli --version "^2.0.0-alpha"
You can adapt your existing desktop application to run on mobile or start a fresh project. Tauri runs on the connected device or starts an emulator if available.
Read the complete guide on the
next documentation website.
- TLS support has been moved behind a Cargo feature until we figure out how to cross compile OpenSSL on Windows.
- Currently running on a device is not supported when using Xcode 14.