mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-30 18:46:27 +03:00
7ba67b4aca
* feat(cli): use localhost on mobile! * change cargo-mobile2 * use public network address on iOS device :( * add change file * actually breaking * pin cargo-mobile2 * rename env var
468 B
468 B
tauri-cli | @tauri-apps/cli |
---|---|
patch:breaking | patch:breaking |
ios dev
and android dev
now uses localhost for the development server unless running on an iOS device,
which still requires connecting to the public network address. To conditionally check this on your frontend
framework's configuration you can check for the existence of the TAURI_DEV_HOST
environment variable instead of checking if the target is iOS or Android (previous recommendation).