Skip to content

fix(cli): resolve IP when dev URL host is unspecified, closes #13356 - #14115

Merged
lucasfernog merged 2 commits into
devfrom
fix/resolve-unspecified-dev-url-host
Oct 6, 2025
Merged

fix(cli): resolve IP when dev URL host is unspecified, closes #13356#14115
lucasfernog merged 2 commits into
devfrom
fix/resolve-unspecified-dev-url-host

Conversation

@lucasfernog

Copy link
Copy Markdown
Member

currently the use_network_address_for_dev_url function already detects Ipv4Addr::UNSPECIFIED to resolve the local IP address for mobile development when the dev URL host is 0.0.0.0, but we only call it when --host is provided or running on a physical device. This change detects the unspecified host early and force the resolution to run even for simulator builds

currently the `use_network_address_for_dev_url` function already detects Ipv4Addr::UNSPECIFIED to resolve the local IP address for mobile development when the dev URL host is 0.0.0.0, but we only call it when `--host` is provided or running on a physical device. This change detects the unspecified host early and force the resolution to run even for simulator builds
@lucasfernog
lucasfernog requested a review from a team as a code owner August 28, 2025 21:16
@github-actions

github-actions Bot commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

Package Changes Through c2954f4

There are 9 changes which include @tauri-apps/api with minor, tauri-cli with minor, tauri-utils with minor, tauri-runtime-wry with minor, tauri-runtime with minor, tauri with minor, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-macros with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.8.0 2.9.0
tauri-utils 2.7.0 2.8.0
tauri-bundler 2.6.1 2.7.0
tauri-runtime 2.8.0 2.9.0
tauri-runtime-wry 2.8.1 2.9.0
tauri-codegen 2.4.0 2.4.1
tauri-macros 2.4.0 2.4.1
tauri-plugin 2.4.0 2.4.1
tauri-build 2.4.1 2.4.2
tauri 2.8.5 2.9.0
@tauri-apps/cli 2.8.4 2.9.0
tauri-cli 2.8.4 2.9.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@FabianLars FabianLars left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(untested)

@lucasfernog
lucasfernog merged commit b001242 into dev Oct 6, 2025
24 checks passed
@lucasfernog
lucasfernog deleted the fix/resolve-unspecified-dev-url-host branch October 6, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants